Hi, On Fri, 11 Mar 2011, Denis Karpov wrote:
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).
[...]
+static struct twl4030_pwrbutton_data rx51_pwrbutton_data = { + .rep = 1, +}; +
Doesn't this enable them? If you want to keep the default behaviour, you can just omit the platform data.
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,
A. -- 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