From: juhosg Date: Sat, 9 Apr 2011 18:47:55 +0000 (+0000) Subject: ar71xx: fix section mismatch X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/9330419fa7c49d5e8cd11aae844d9ff4402314c3 ar71xx: fix section mismatch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26562 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c index c1a34cd5a..5db59319b 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c @@ -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;