rk30: annotate rk30_iomux_init as __init
author黄涛 <huangtao@rock-chips.com>
Tue, 7 Feb 2012 07:47:02 +0000 (15:47 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 7 Feb 2012 07:47:02 +0000 (15:47 +0800)
arch/arm/mach-rk30/include/mach/iomux.h
arch/arm/mach-rk30/iomux.c

index c12549e6ce7a1cffa137fee0f934937018d14339..1035a96a9950c97efd9dc4a53ea3a956480c04d8 100755 (executable)
@@ -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
index 9de025f7fe21f221e7662ad2eae2f866f062369a..d14be4c29dc92bba7f81f5f05f47572237dfa1f2 100755 (executable)
@@ -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);
 
-