aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-03-31 08:40:28 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-03-31 08:40:28 +0000
commita423c3abee758da0d5d4b20cd4f52678f21acd54 (patch)
treeeb2e468500e0a975f55b511b89645cace175bd5c /target/linux/ramips
parent0671b2aded2c1f4ef01b970191f84234a4fd49aa (diff)
downloadupstream-a423c3abee758da0d5d4b20cd4f52678f21acd54.tar.gz
upstream-a423c3abee758da0d5d4b20cd4f52678f21acd54.tar.bz2
upstream-a423c3abee758da0d5d4b20cd4f52678f21acd54.zip
ramips: annotate device register function prototypes with __init
SVN-Revision: 20627
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h
index 7e2144c165..b731f86835 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h
@@ -15,8 +15,8 @@ struct physmap_flash_data;
extern void rt305x_register_flash(unsigned int id,
struct physmap_flash_data *pdata) __init;
-extern void rt305x_register_ethernet(void);
-extern void rt305x_register_wifi(void);
+extern void rt305x_register_ethernet(void) __init;
+extern void rt305x_register_wifi(void) __init;
#endif /* __RT305X_DEVICES_H */