ar71xx: fix section mismatch
authorGabor Juhos <juhosg@openwrt.org>
Sat, 9 Apr 2011 18:47:55 +0000 (18:47 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 9 Apr 2011 18:47:55 +0000 (18:47 +0000)
SVN-Revision: 26562

target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c

index c1a34cd5a1076e02a6c83d6264f73debac34aaba..5db59319bab648566405a3248aabb841a8bea769 100644 (file)
@@ -138,7 +138,7 @@ static void __init ubnt_generic_setup(void)
  * Do not increase Secondary MAC address by 1 but do workaround
  * with 'Locally Administrated' bit.
  */
-static void ubnt_init_secondary_mac(unsigned char *mac_base)
+static void __init ubnt_init_secondary_mac(unsigned char *mac_base)
 {
        ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac_base, 0);
        ar71xx_eth1_data.mac_addr[0] |= 0x02;