projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: switch rdc to to gpio_keys_polled
[openwrt.git]
/
target
/
linux
/
x86
/
patches-3.8
/
100-rdc_boards.patch
diff --git
a/target/linux/x86/patches-3.8/100-rdc_boards.patch
b/target/linux/x86/patches-3.8/100-rdc_boards.patch
index
5880610
..
c70874a
100644
(file)
--- a/
target/linux/x86/patches-3.8/100-rdc_boards.patch
+++ b/
target/linux/x86/patches-3.8/100-rdc_boards.patch
@@
-67,7
+67,7
@@
+
+/* Button */
+static struct platform_device rdc321x_buttons = {
+
+/* Button */
+static struct platform_device rdc321x_buttons = {
-+ .name = "gpio-
buttons
",
++ .name = "gpio-
keys-polled
",
+ .id = -1,
+ .dev = {
+ .platform_data = &rdcplat_data.button_data,
+ .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_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,
+ {
+ .gpio = 6,
+ .code = BTN_0,
@@
-584,7
+584,7
@@
+ { .name = "rdc321x:usb1", .gpio = 1, .active_low = 1},
+};
+
+ { .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,
+ {
+ .gpio = 6,
+ .code = BTN_0,
@@
-731,11
+731,11
@@
+#define _RDC_BOARDS_H__
+
+#include <linux/leds.h>
+#define _RDC_BOARDS_H__
+
+#include <linux/leds.h>
-+#include <linux/gpio_
button
s.h>
++#include <linux/gpio_
key
s.h>
+
+struct rdc_platform_data {
+ struct gpio_led_platform_data led_data;
+
+struct rdc_platform_data {
+ struct gpio_led_platform_data led_data;
-+ struct gpio_
button
s_platform_data button_data;
++ struct gpio_
key
s_platform_data button_data;
+};
+
+#endif
+};
+
+#endif