From 960002ed4b148cffa7e2562ff4536d3708342765 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 19 Jul 2013 13:20:39 +0000 Subject: x86: switch rdc to to gpio_keys_polled gpio_buttons have been deprecated since a long time. Signed-off-by: Jonas Gorski SVN-Revision: 37435 --- target/linux/x86/patches-3.7/100-rdc_boards.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'target/linux/x86/patches-3.7') diff --git a/target/linux/x86/patches-3.7/100-rdc_boards.patch b/target/linux/x86/patches-3.7/100-rdc_boards.patch index 48c42f7adf..462808e354 100644 --- a/target/linux/x86/patches-3.7/100-rdc_boards.patch +++ b/target/linux/x86/patches-3.7/100-rdc_boards.patch @@ -67,7 +67,7 @@ + +/* Button */ +static struct platform_device rdc321x_buttons = { -+ .name = "gpio-buttons", ++ .name = "gpio-keys-polled", + .id = -1, + .dev = { + .platform_data = &rdcplat_data.button_data, @@ -187,7 +187,7 @@ +static struct gpio_led ar525w_leds[] = { + { .name = "rdc321x:dmz", .gpio = 1, .active_low = 1}, +}; -+static struct gpio_button ar525w_btns[] = { ++static struct gpio_keys_button ar525w_btns[] = { + { + .gpio = 6, + .code = BTN_0, @@ -584,7 +584,7 @@ + { .name = "rdc321x:usb1", .gpio = 1, .active_low = 1}, +}; + -+static struct gpio_button sitecom_btns[] = { ++static struct gpio_keys_button sitecom_btns[] = { + { + .gpio = 6, + .code = BTN_0, @@ -731,11 +731,11 @@ +#define _RDC_BOARDS_H__ + +#include -+#include ++#include + +struct rdc_platform_data { + struct gpio_led_platform_data led_data; -+ struct gpio_buttons_platform_data button_data; ++ struct gpio_keys_platform_data button_data; +}; + +#endif -- cgit v1.2.3