[PATCH] ARM: gta02: Add button support

Lars-Peter Clausen lars at metafoo.de
Fri Sep 25 20:09:20 CEST 2009


>
>>  static void __init gta02_map_io(void)
>>  {
>> @@ -571,6 +603,7 @@ static struct platform_device *gta02_devices[] __initdata = {
>>        &s3c24xx_pwm_device,
>>        &s3c_device_iis,
>>        &s3c_device_i2c0,
>> +       &gta02_buttons_device,
>>  };
>>
>>  /* These guys DO need to be children of PMU. */
>>     
>
> BTW the buttons worked as children of the PMU. I guess we will need
> them to be there later.
>   
I don't get why that would be necessary. Both buttons are not related or
connected to the PMU in any way. Or am I missing something?

- Lars



More information about the openmoko-kernel mailing list