diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-03-31 08:40:28 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-03-31 08:40:28 +0000 |
commit | a423c3abee758da0d5d4b20cd4f52678f21acd54 (patch) | |
tree | eb2e468500e0a975f55b511b89645cace175bd5c | |
parent | 0671b2aded2c1f4ef01b970191f84234a4fd49aa (diff) | |
download | master-31e0f0ae-a423c3abee758da0d5d4b20cd4f52678f21acd54.tar.gz master-31e0f0ae-a423c3abee758da0d5d4b20cd4f52678f21acd54.tar.bz2 master-31e0f0ae-a423c3abee758da0d5d4b20cd4f52678f21acd54.zip |
ramips: annotate device register function prototypes with __init
SVN-Revision: 20627
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h | 4 |
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 */ |