diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:25 +0000 |
commit | ea9360a5c645b44bdeea50d90e7946097d61a813 (patch) | |
tree | b71ca22affd7b9533b8f82e823b77e144c13d2cf /target/linux/atheros/patches-3.10/210-reset_button.patch | |
parent | b482d8ff64f70d07a37b7187700c637a45aef1bc (diff) | |
download | upstream-ea9360a5c645b44bdeea50d90e7946097d61a813.tar.gz upstream-ea9360a5c645b44bdeea50d90e7946097d61a813.tar.bz2 upstream-ea9360a5c645b44bdeea50d90e7946097d61a813.zip |
atheros: avoid CamelCase
Change fooBar variables names to foo_bar as suggested by checkpatch,
write few tables names in lower case and correctly place __initdata
keyword.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41080
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.patch | 4 |
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; |