aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.18/103-ar2315_gpio.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-13 02:58:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-13 02:58:58 +0000
commit8a98d187d5660c9fc397e9966435a5835eb0d54c (patch)
treebdff7d7b225bcddb2cf0e9639a545648a83fe207 /target/linux/atheros/patches-3.18/103-ar2315_gpio.patch
parentfb4c2936297244e24750677f4a365624ab84424d (diff)
downloadupstream-8a98d187d5660c9fc397e9966435a5835eb0d54c.tar.gz
upstream-8a98d187d5660c9fc397e9966435a5835eb0d54c.tar.bz2
upstream-8a98d187d5660c9fc397e9966435a5835eb0d54c.zip
atheros: v3.18: update names and declarations
Sync functions, variables and enums names with upstream. Mostly replace 'ar231x_' prefix by 'ath25_'. No functional changes, except few 'int' -> 'unsigned' changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44712
Diffstat (limited to 'target/linux/atheros/patches-3.18/103-ar2315_gpio.patch')
-rw-r--r--target/linux/atheros/patches-3.18/103-ar2315_gpio.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/atheros/patches-3.18/103-ar2315_gpio.patch b/target/linux/atheros/patches-3.18/103-ar2315_gpio.patch
index 9b55d378f8..532f37655b 100644
--- a/target/linux/atheros/patches-3.18/103-ar2315_gpio.patch
+++ b/target/linux/atheros/patches-3.18/103-ar2315_gpio.patch
@@ -8,7 +8,7 @@
default y
--- a/arch/mips/ath25/ar2315.c
+++ b/arch/mips/ath25/ar2315.c
-@@ -211,6 +211,34 @@ static struct platform_device ar2315_wdt
+@@ -207,6 +207,34 @@ static struct platform_device ar2315_wdt
.num_resources = ARRAY_SIZE(ar2315_wdt_res)
};
@@ -43,9 +43,9 @@
/*
* NB: We use mapping size that is larger than the actual flash size,
* but this shouldn't be a problem here, because the flash will simply
-@@ -276,6 +304,7 @@ ar2315_init_devices(void)
- ar231x_find_config(ar2315_flash_limit());
- ar2315_eth_data.macaddr = ar231x_board.config->enet0_mac;
+@@ -270,6 +298,7 @@ int __init ar2315_init_devices(void)
+ ath25_find_config(ar2315_flash_limit());
+ ar2315_eth_data.macaddr = ath25_board.config->enet0_mac;
+ platform_device_register(&ar2315_gpio);
ar2315_init_gpio_leds();