ramips: annotate device register function prototypes with __init

SVN-Revision: 20627
master
Gabor Juhos 15 years ago
parent 0671b2aded
commit a423c3abee
  1. 4
      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, extern void rt305x_register_flash(unsigned int id,
struct physmap_flash_data *pdata) __init; struct physmap_flash_data *pdata) __init;
extern void rt305x_register_ethernet(void); extern void rt305x_register_ethernet(void) __init;
extern void rt305x_register_wifi(void); extern void rt305x_register_wifi(void) __init;
#endif /* __RT305X_DEVICES_H */ #endif /* __RT305X_DEVICES_H */

Loading…
Cancel
Save