MIPS: ath79: Separate AR913x SoC specific WMAC setup code
authorGabor Juhos <juhosg@openwrt.org>
Fri, 18 Nov 2011 00:17:53 +0000 (00:17 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 7 Dec 2011 22:02:47 +0000 (22:02 +0000)
commit6903bb49da18e0bf3e2909e6b1342ee9a26b78ff
treea3774efb110142c3e408e5ead6c80710ba361af6
parent67b0f0f1b355df293f92069a0409452c9e24370b
MIPS: ath79: Separate AR913x SoC specific WMAC setup code

The device registration code can be shared between the different SoCs, but
the required setup code varies Move AR913x specific setup code into a
separate function in order to make adding support for another SoCs easier.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3029/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/dev-ar913x-wmac.c