diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 02:59:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 02:59:04 +0000 |
commit | 60a15500fc5c9a7b3e839b2b96078cdb6bea38cd (patch) | |
tree | 5992f8a4bf14650321b6fb6f9888e7177a92de9d /target/linux/atheros/patches-3.18/105-ar2315_pci.patch | |
parent | 96bfba8286568804498978209a3c930656b9bf90 (diff) | |
download | upstream-60a15500fc5c9a7b3e839b2b96078cdb6bea38cd.tar.gz upstream-60a15500fc5c9a7b3e839b2b96078cdb6bea38cd.tar.bz2 upstream-60a15500fc5c9a7b3e839b2b96078cdb6bea38cd.zip |
atheros: v3.18: change calls logic
Check SoC family (AR5312+ or AR2315+) before call instead of checking it
inside the called function. Also convert ar{5312,2315}_init_device()
function to void, since they both return zero and nobody care about
return value.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44713 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 | 2 |
1 files changed, 1 insertions, 1 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 9d8954f846..3c66d86fe9 100644 --- a/target/linux/atheros/patches-3.18/105-ar2315_pci.patch +++ b/target/linux/atheros/patches-3.18/105-ar2315_pci.patch @@ -382,7 +382,7 @@ else if (pending & CAUSEF_IP2) do_IRQ(AR2315_IRQ_MISC_INTRS); else if (pending & CAUSEF_IP7) -@@ -445,3 +449,18 @@ void __init ar2315_plat_mem_setup(void) +@@ -428,3 +432,18 @@ void __init ar2315_plat_mem_setup(void) ath25_serial_setup(AR2315_UART0, AR2315_MISC_IRQ_UART0, ar2315_apb_frequency()); } |