aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commit0b03ed8938ebfa7c0ab0d0cd014e088cb25a9776 (patch)
tree2c8a7998e5ae4d29bf407fef0322ed424308125c /target/linux
parent322804a9fe89970e0dd70d46d95c5d75628c7d7d (diff)
downloadupstream-0b03ed8938ebfa7c0ab0d0cd014e088cb25a9776.tar.gz
upstream-0b03ed8938ebfa7c0ab0d0cd014e088cb25a9776.tar.bz2
upstream-0b03ed8938ebfa7c0ab0d0cd014e088cb25a9776.zip
ramips: annotate device register function prototypes with __init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20627 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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 */