Why are three resources in gta01_button_resources array?

wei zheng loveheaven_zhengwei at hotmail.com
Sat Feb 28 09:06:31 CET 2009


Hi Michael & All,

       I have questions about the hardware buttons in neo 1973/freerunner.
There are only two buttons on neo 1973/freerunner. Why are three resources
in gta01_button_resources array?

 

static struct resource gta01_button_resources[] = {

       [0] = {

              .start = GTA01_GPIO_AUX_KEY,

              .end   = GTA01_GPIO_AUX_KEY,

       },

       [1] = {

              .start = GTA01_GPIO_HOLD_KEY,

              .end   = GTA01_GPIO_HOLD_KEY,

       },

       [2] = {

              .start = GTA01_GPIO_JACK_INSERT,

              .end   = GTA01_GPIO_JACK_INSERT,

       },

};

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20090228/067329c4/attachment.htm 


More information about the openmoko-kernel mailing list