diff options
author | Yauhen Kharuzhy <jekhor@gmail.com> | 2011-01-05 23:04:33 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-01-06 00:09:19 -0500 |
commit | f1930a2983ab28c65a51a5169b7540f898309824 (patch) | |
tree | 1193b9222ddd0e43955317303c055b74a7506d9a | |
parent | 0536d0d087c264f0edbb911fca6fff39bb2eb71b (diff) |
ARM: SAMSUNG: Don't export __init functions to modules
There are few functions marked as __init, but exported to modules in
devices declaration files.
s3c_nand_set_platdata() and s3c24xx_ts_set_platdata() are used only by
boards init code now, so remove EXPORT_SYMBOL() for them.
Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/plat-s3c24xx/devs.c | 1 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dev-nand.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c index 2f91057a0c02..10ce6666687e 100644 --- a/arch/arm/plat-s3c24xx/devs.c +++ b/arch/arm/plat-s3c24xx/devs.c | |||
@@ -194,7 +194,6 @@ void __init s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *hard_s3c2410ts_ | |||
194 | memcpy(&s3c2410ts_info, hard_s3c2410ts_info, sizeof(struct s3c2410_ts_mach_info)); | 194 | memcpy(&s3c2410ts_info, hard_s3c2410ts_info, sizeof(struct s3c2410_ts_mach_info)); |
195 | s3c_device_ts.dev.platform_data = &s3c2410ts_info; | 195 | s3c_device_ts.dev.platform_data = &s3c2410ts_info; |
196 | } | 196 | } |
197 | EXPORT_SYMBOL(s3c24xx_ts_set_platdata); | ||
198 | 197 | ||
199 | /* USB Device (Gadget)*/ | 198 | /* USB Device (Gadget)*/ |
200 | 199 | ||
diff --git a/arch/arm/plat-samsung/dev-nand.c b/arch/arm/plat-samsung/dev-nand.c index 3a7b8891ba4f..6927ae8fd118 100644 --- a/arch/arm/plat-samsung/dev-nand.c +++ b/arch/arm/plat-samsung/dev-nand.c | |||
@@ -126,5 +126,3 @@ void __init s3c_nand_set_platdata(struct s3c2410_platform_nand *nand) | |||
126 | 126 | ||
127 | s3c_device_nand.dev.platform_data = npd; | 127 | s3c_device_nand.dev.platform_data = npd; |
128 | } | 128 | } |
129 | |||
130 | EXPORT_SYMBOL_GPL(s3c_nand_set_platdata); | ||