From a423c3abee758da0d5d4b20cd4f52678f21acd54 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 31 Mar 2010 08:40:28 +0000 Subject: [PATCH] ramips: annotate device register function prototypes with __init SVN-Revision: 20627 --- target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h | 4 ++-- 1 file 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 */