summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-05-07 09:23:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-05-07 09:23:32 +0000
commitc39e5b9360a7c4362e61f421b5b43f8271093555 (patch)
tree38f0ad5d2b620c75c09eaca5973d86e14d70eae5
parentfbbe154a485897f7b9f31d408683bc64bfbdedbc (diff)
downloadmtk-20170518-c39e5b9360a7c4362e61f421b5b43f8271093555.zip
mtk-20170518-c39e5b9360a7c4362e61f421b5b43f8271093555.tar.gz
mtk-20170518-c39e5b9360a7c4362e61f421b5b43f8271093555.tar.bz2
ar71xx: override wmac device name for the AR934x SoCs
SVN-Revision: 26840
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/dev-ar9xxx-wmac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ar9xxx-wmac.c b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ar9xxx-wmac.c
index 8a274ea..5bac35b 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ar9xxx-wmac.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ar9xxx-wmac.c
@@ -63,6 +63,7 @@ static void ar913x_wmac_init(void)
static void ar934x_wmac_init(void)
{
+ ar9xxx_wmac_device.name = "ar934x_wmac";
ar9xxx_wmac_resources[0].start = AR934X_WMAC_BASE;
ar9xxx_wmac_resources[0].end = AR934X_WMAC_BASE + AR934X_WMAC_SIZE - 1;
}