ARM: SAMSUNG: Don't export __init functions to modules
authorYauhen Kharuzhy <jekhor@gmail.com>
Thu, 6 Jan 2011 04:04:33 +0000 (13:04 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 6 Jan 2011 05:09:19 +0000 (14:09 +0900)
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>
arch/arm/plat-s3c24xx/devs.c
arch/arm/plat-samsung/dev-nand.c

index 2f91057a0c02380841db092f087ea9f6731efca6..10ce6666687e0631ebc9b07a4876acd314cf099e 100644 (file)
@@ -194,7 +194,6 @@ void __init s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *hard_s3c2410ts_
        memcpy(&s3c2410ts_info, hard_s3c2410ts_info, sizeof(struct s3c2410_ts_mach_info));
        s3c_device_ts.dev.platform_data = &s3c2410ts_info;
 }
-EXPORT_SYMBOL(s3c24xx_ts_set_platdata);
 
 /* USB Device (Gadget)*/
 
index 3a7b8891ba4f54ee9c76133e00e14d4893a419bd..6927ae8fd118815620b1383dd7d314911a4e78fa 100644 (file)
@@ -126,5 +126,3 @@ void __init s3c_nand_set_platdata(struct s3c2410_platform_nand *nand)
 
        s3c_device_nand.dev.platform_data = npd;
 }
-
-EXPORT_SYMBOL_GPL(s3c_nand_set_platdata);