summaryrefslogtreecommitdiffstats
path: root/arch/mips/ath25/devices.h
diff options
context:
space:
mode:
authorSergey Ryazanov <ryazanov.s.a@gmail.com>2014-10-29 03:18:50 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-11-24 07:45:29 +0100
commitd6a4c72ae4dcf5e6824638e57a8088bd1313a744 (patch)
tree0816ada60e7e6138276a5c6c451201cf52feaa49 /arch/mips/ath25/devices.h
parent164a974889c03cbc6559923b8c1da8762904c560 (diff)
downloadlinux-d6a4c72ae4dcf5e6824638e57a8088bd1313a744.tar.bz2
MIPS: ath25: add Wireless device support
Atheros AR5312 and AR2315 both have a builtin wireless device, this patch add helper code and register platform device for all supported WiSoCs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Cc: Linux MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/8249/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath25/devices.h')
-rw-r--r--arch/mips/ath25/devices.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/ath25/devices.h b/arch/mips/ath25/devices.h
index 55adcf4f2b48..04d414115356 100644
--- a/arch/mips/ath25/devices.h
+++ b/arch/mips/ath25/devices.h
@@ -28,6 +28,7 @@ extern void (*ath25_irq_dispatch)(void);
int ath25_find_config(phys_addr_t offset, unsigned long size);
void ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk);
+int ath25_add_wmac(int nr, u32 base, int irq);
static inline bool is_ar2315(void)
{