[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100327142113.GB15267@pengutronix.de>
Date: Sat, 27 Mar 2010 15:21:13 +0100
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: Henrik Kretzschmar <henne@...htwindheim.de>
Cc: linux-fbdev@...r.kernel.org, Jaya Kumar <jayalk@...works.biz>,
Arnaud Patard <arnaud.patard@...-net.org>,
James Simmons <jsimmons@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/7] fbdev: section cleanup in arcfb
On Sat, Mar 27, 2010 at 07:24:45AM +0100, Henrik Kretzschmar wrote:
> This patch fixes the sections in the arcfb driver.
>
> WARNING: drivers/video/built-in.o(.devinit.text+0x543): Section mismatch in reference from the function arcfb_probe() to the variable .init.data:arcfb_var
> The function __devinit arcfb_probe() references
> a variable __initdata arcfb_var.
> If arcfb_var is only used by arcfb_probe then
> annotate arcfb_var with a matching annotation.
>
> WARNING: drivers/video/built-in.o(.devinit.text+0x558): Section mismatch in reference from the function arcfb_probe() to the variable .init.data:arcfb_fix
> The function __devinit arcfb_probe() references
> a variable __initdata arcfb_fix.
> If arcfb_fix is only used by arcfb_probe then
> annotate arcfb_fix with a matching annotation.
... by moving arcfb_fix and arcfb_var to .devinit.data
Addionally it moves arcfb_remove to .devexit.text.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists