summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch/mips
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/files/arch/mips
parenta8bf5e3cdbe6a6d65540db37206619cdf5c25943 (diff)
downloadmtk-20170518-8586e61b006916f323dd23302b5cb1395308ceff.zip
mtk-20170518-8586e61b006916f323dd23302b5cb1395308ceff.tar.gz
mtk-20170518-8586e61b006916f323dd23302b5cb1395308ceff.tar.bz2
ar71xx: fix section mismatch
SVN-Revision: 26562
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-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 c1a34cd..5db5931 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;