ramips: annotate device register function prototypes with __init
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 31 Mar 2010 08:40:28 +0000 (08:40 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 31 Mar 2010 08:40:28 +0000 (08:40 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20627 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h

index 7e2144c..b731f86 100644 (file)
@@ -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 */
 
This page took 0.023638 seconds and 4 git commands to generate.