summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-02-18 17:36:06 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-02-18 17:36:32 +0900
commit9613afc36a3114b776d7b09877060062cd3e4d89 (patch)
tree3c4c5c1a27f6be80cbb3471f54f6f52749bee49a /arch
parent6236b97b9fa032057a9908ad16ff02c95feb3ad8 (diff)
downloadtalos-obmc-linux-9613afc36a3114b776d7b09877060062cd3e4d89.tar.gz
talos-obmc-linux-9613afc36a3114b776d7b09877060062cd3e4d89.zip
ARM: SAMSUNG: Drop exporting s3c24xx_ts_set_platdata
s3c24xx_ts_set_platdata is annotated __init and not used by any module, thus don't export it. This patch fixes below warning: WARNING: arch/arm/plat-samsung/built-in.o(__ksymtab+0x90): Section mismatch in reference from the variable __ksymtab_s3c24xx_ts_set_platdata to the function .init.text:s3c24xx_ts_set_platdata() The symbol s3c24xx_ts_set_platdata is exported and annotated __init Fix this by removing the __init annotation of s3c24xx_ts_set_platdata or drop the export. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-samsung/dev-ts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/dev-ts.c b/arch/arm/plat-samsung/dev-ts.c
index 236ef8427d7d..3e4bd8147bf4 100644
--- a/arch/arm/plat-samsung/dev-ts.c
+++ b/arch/arm/plat-samsung/dev-ts.c
@@ -58,4 +58,3 @@ void __init s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *pd)
s3c_device_ts.dev.platform_data = npd;
}
-EXPORT_SYMBOL(s3c24xx_ts_set_platdata);
OpenPOWER on IntegriCloud