aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>2008-07-17 12:10:20 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2008-07-28 05:29:21 -0400
commitd7098e31404a25f70f82aa7513e7f5893763576b (patch)
treed5057a1b6603452d69a7c4f16786e083c82b46f2
parent2809fc06f2fc0aac180644cabf9330e50f015bbb (diff)
[ARM] i.MX: remove set_imx_fb_info() export
Remove not needed export and fix warning: WARNING: vmlinux.o(__ksymtab+0x400): Section mismatch in reference from the variable __ksymtab_set_imx_fb_info to the function .init.text:set_imx_fb_info() The symbol set_imx_fb_info is exported and annotated __init Fix this by removing the __init annotation of set_imx_fb_info or drop the export. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-imx/generic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/generic.c b/arch/arm/mach-imx/generic.c
index 98ddd8a6d05f..c40650dcddf5 100644
--- a/arch/arm/mach-imx/generic.c
+++ b/arch/arm/mach-imx/generic.c
@@ -251,7 +251,6 @@ void __init set_imx_fb_info(struct imxfb_mach_info *hard_imx_fb_info)
251{ 251{
252 memcpy(&imx_fb_info,hard_imx_fb_info,sizeof(struct imxfb_mach_info)); 252 memcpy(&imx_fb_info,hard_imx_fb_info,sizeof(struct imxfb_mach_info));
253} 253}
254EXPORT_SYMBOL(set_imx_fb_info);
255 254
256static struct resource imxfb_resources[] = { 255static struct resource imxfb_resources[] = {
257 [0] = { 256 [0] = {