aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-04-09 18:47:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-04-09 18:47:55 +0000
commit8586e61b006916f323dd23302b5cb1395308ceff (patch)
tree5c98e824e840d0629eac9f3aaaf1b152c02b7235 /target/linux/ar71xx
parenta8bf5e3cdbe6a6d65540db37206619cdf5c25943 (diff)
downloadupstream-8586e61b006916f323dd23302b5cb1395308ceff.tar.gz
upstream-8586e61b006916f323dd23302b5cb1395308ceff.tar.bz2
upstream-8586e61b006916f323dd23302b5cb1395308ceff.zip
ar71xx: fix section mismatch
SVN-Revision: 26562
Diffstat (limited to 'target/linux/ar71xx')
-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;