aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.10/210-reset_button.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/atheros/patches-3.10/210-reset_button.patch')
-rw-r--r--target/linux/atheros/patches-3.10/210-reset_button.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-3.10/210-reset_button.patch b/target/linux/atheros/patches-3.10/210-reset_button.patch
index c1471903c4..8007ed4ddb 100644
--- a/target/linux/atheros/patches-3.10/210-reset_button.patch
+++ b/target/linux/atheros/patches-3.10/210-reset_button.patch
@@ -29,7 +29,7 @@
+ struct gpio_keys_button *p;
+ int err;
+
-+ if (ar231x_board.config->resetConfigGpio == 0xffff)
++ if (ar231x_board.config->reset_config_gpio == 0xffff)
+ return -ENODEV;
+
+ p = kzalloc(sizeof(*p), GFP_KERNEL);
@@ -40,7 +40,7 @@
+ p->type = EV_KEY;
+ p->code = KEY_RESTART;
+ p->debounce_interval = 60;
-+ p->gpio = ar231x_board.config->resetConfigGpio;
++ p->gpio = ar231x_board.config->reset_config_gpio;
+
+ memset(&pdata, 0, sizeof(pdata));
+ pdata.poll_interval = 20;