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-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html