[ARM] i.MX: remove set_imx_fb_info() export

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, August 4, 2008 - 10:59 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d7098e...
Commit:     d7098e31404a25f70f82aa7513e7f5893763576b
Parent:     2809fc06f2fc0aac180644cabf9330e50f015bbb
Author:     Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
AuthorDate: Thu Jul 17 19:10:20 2008 +0300
Committer:  Sascha Hauer <s.hauer@pengutronix.de>
CommitDate: Mon Jul 28 11:29:21 2008 +0200

    [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>
---
 arch/arm/mach-imx/generic.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-imx/generic.c b/arch/arm/mach-imx/generic.c
index 98ddd8a..c40650d 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)
 {
 	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] = {
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ARM] i.MX: remove set_imx_fb_info() export, Linux Kernel Mailing ..., (Mon Aug 4, 10:59 am)