ar71xx: override wmac device name for the AR934x SoCs
authorGabor Juhos <juhosg@openwrt.org>
Sat, 7 May 2011 09:23:32 +0000 (09:23 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 7 May 2011 09:23:32 +0000 (09:23 +0000)
SVN-Revision: 26840

target/linux/ar71xx/files/arch/mips/ar71xx/dev-ar9xxx-wmac.c

index 8a274eaf70633486738f01f6e45bb3201ac16099..5bac35bdefe7c43c9382074578743c1bf6409438 100644 (file)
@@ -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;
 }