]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] i.MX: remove set_imx_fb_info() export
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
Thu, 17 Jul 2008 16:10:20 +0000 (19:10 +0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 28 Jul 2008 09:29:21 +0000 (11:29 +0200)
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>
arch/arm/mach-imx/generic.c

index 98ddd8a6d05fb1a6b6da716abff67b11036f39d4..c40650dcddf5b30a71a55d0ba1f72b9d8c6f0d0a 100644 (file)
@@ -251,7 +251,6 @@ void __init set_imx_fb_info(struct imxfb_mach_info *hard_imx_fb_info)
 {
        memcpy(&imx_fb_info,hard_imx_fb_info,sizeof(struct imxfb_mach_info));
 }
-EXPORT_SYMBOL(set_imx_fb_info);
 
 static struct resource imxfb_resources[] = {
        [0] = {