diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 02:58:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 02:58:58 +0000 |
commit | 8a98d187d5660c9fc397e9966435a5835eb0d54c (patch) | |
tree | bdff7d7b225bcddb2cf0e9639a545648a83fe207 /target/linux/atheros/patches-3.18/105-ar2315_pci.patch | |
parent | fb4c2936297244e24750677f4a365624ab84424d (diff) | |
download | upstream-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/105-ar2315_pci.patch')
-rw-r--r-- | target/linux/atheros/patches-3.18/105-ar2315_pci.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/atheros/patches-3.18/105-ar2315_pci.patch b/target/linux/atheros/patches-3.18/105-ar2315_pci.patch index d86e9b7901..9d8954f846 100644 --- a/target/linux/atheros/patches-3.18/105-ar2315_pci.patch +++ b/target/linux/atheros/patches-3.18/105-ar2315_pci.patch @@ -371,7 +371,7 @@ + default y --- a/arch/mips/ath25/ar2315.c +++ b/arch/mips/ath25/ar2315.c -@@ -77,6 +77,10 @@ ar2315_irq_dispatch(void) +@@ -76,6 +76,10 @@ static void ar2315_irq_dispatch(void) do_IRQ(AR2315_IRQ_WLAN0_INTRS); else if (pending & CAUSEF_IP4) do_IRQ(AR2315_IRQ_ENET0_INTRS); @@ -382,9 +382,9 @@ else if (pending & CAUSEF_IP2) do_IRQ(AR2315_IRQ_MISC_INTRS); else if (pending & CAUSEF_IP7) -@@ -457,3 +461,18 @@ ar2315_plat_setup(void) - ar231x_serial_setup(AR2315_UART0, AR2315_MISC_IRQ_UART0, - ar2315_apb_frequency()); +@@ -445,3 +449,18 @@ void __init ar2315_plat_mem_setup(void) + ath25_serial_setup(AR2315_UART0, AR2315_MISC_IRQ_UART0, + ar2315_apb_frequency()); } + +#ifdef CONFIG_PCI_AR2315 @@ -392,7 +392,7 @@ +{ + struct platform_device *pdev; + -+ if (!is_2315() || ar231x_devtype != DEV_TYPE_AR2315) ++ if (!is_ar2315() || ath25_soc != ATH25_SOC_AR2315) + return -ENODEV; + + pdev = platform_device_register_simple("ar2315-pci", -1, NULL, 0); |