Skip to content

Commit

Permalink
[ARM] i.MX: remove set_imx_fb_info() export
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paulius Zaleckas authored and Sascha Hauer committed Jul 28, 2008
1 parent 2809fc0 commit d7098e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/mach-imx/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {
Expand Down

0 comments on commit d7098e3

Please sign in to comment.