]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: SAMSUNG: Drop exporting s3c24xx_ts_set_platdata
authorAxel Lin <axel.lin@gmail.com>
Fri, 18 Feb 2011 08:36:06 +0000 (17:36 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 18 Feb 2011 08:36:32 +0000 (17:36 +0900)
commit7f95932f64c0f1069469635925075edd6a74025b
tree3c4c5c1a27f6be80cbb3471f54f6f52749bee49a
parent54bfc863b7f9faa631613200fbf52456463c33a1
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>
arch/arm/plat-samsung/dev-ts.c