summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-09 18:47:55 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-09 18:47:55 +0000
commit9330419fa7c49d5e8cd11aae844d9ff4402314c3 (patch)
treee0c94f5429980134081682838046f3a9cc21aa4b
parentf2a69b10a80476c014ba9d9ce4115f5ab696d620 (diff)
ar71xx: fix section mismatch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26562 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c2
1 files changed, 1 insertions, 1 deletions
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 c1a34cd5a1..5db59319ba 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;