rk30: annotate rk30_iomux_init as __init

This commit is contained in:
黄涛
2012-02-07 15:47:02 +08:00
parent 0b1610f141
commit 32001abe7c
2 changed files with 3 additions and 4 deletions

View File

@@ -825,7 +825,7 @@ struct mux_config {
unsigned int flags;
};
extern int rk30_iomux_init(void);
extern int __init rk30_iomux_init(void);
extern void rk30_mux_api_set(char *name, unsigned int mode);
#endif

View File

@@ -252,7 +252,7 @@ void rk30_mux_set(struct mux_config *cfg)
return;
}
int rk30_iomux_init(void)
int __init rk30_iomux_init(void)
{
int i;
printk("%s\n",__func__);
@@ -348,7 +348,7 @@ int rk30_iomux_init(void)
return 0;
}
EXPORT_SYMBOL(rk30_iomux_init);
/*
*config iomux : input iomux name and iomux flags
*/
@@ -371,4 +371,3 @@ void rk30_mux_api_set(char *name, unsigned int mode)
}
EXPORT_SYMBOL(rk30_mux_api_set);