Jerry Zhang <[email protected]> wrote:

> The entry will only be created after the "Driver" probes the "Device"
> successfully. In your case, you need to be sure the corresponding
> platform_device is claimed in your board setup code.

What does claiming the device actually mean? Do I really need to
hardcode the GPIOs where buttons are connected at compile time?

This would not be a very good idea for a User configurable board like
Raspberry Pi.

I actually thought that I could configure the gpios where buttons are
connected at runtime using sysfs, depending on the actual hardware
setup in use.

Sven

-- 
"Das Einzige wovor wir Angst haben müssen ist die Angst selbst"
                                                (Franklin D. Roosevelt)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to