* Denis Karpov <ext-denis.2.karpov@xxxxxxxxx> [110311 08:35]: > From: Denis Karpov <ext-denis.2.karpov@xxxxxxxxx> > > Adds and initializes platform data for TWL4030 powerbutton. > Disable repeat input events from a button press (default behaviour). > > Signed-off-by: Denis Karpov <ext-denis.2.karpov@xxxxxxxxx> This should get merged along with the driver related patch: Acked-by: Tony Lindgren <tony@xxxxxxxxxxx> > --- > arch/arm/mach-omap2/board-rx51-peripherals.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c > index 5f1900c..c9a21ef 100644 > --- a/arch/arm/mach-omap2/board-rx51-peripherals.c > +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c > @@ -264,6 +264,10 @@ static struct twl4030_keypad_data rx51_kp_data = { > .rep = 1, > }; > > +static struct twl4030_pwrbutton_data rx51_pwrbutton_data = { > + .rep = 1, > +}; > + > static struct twl4030_madc_platform_data rx51_madc_data = { > .irq_line = 1, > }; > @@ -758,6 +762,7 @@ static struct twl4030_platform_data rx51_twldata __initdata = { > /* platform_data for children goes here */ > .gpio = &rx51_gpio_data, > .keypad = &rx51_kp_data, > + .pwrbutton = &rx51_pwrbutton_data, > .madc = &rx51_madc_data, > .usb = &rx51_usb_data, > .power = &rx51_t2scripts_data, > -- > 1.7.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html