Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753554Ab0HTRXG (ORCPT ); Fri, 20 Aug 2010 13:23:06 -0400 Received: from server103.greatnet.de ([83.133.97.6]:58248 "EHLO server103.greatnet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753332Ab0HTRXE (ORCPT ); Fri, 20 Aug 2010 13:23:04 -0400 X-Greylist: delayed 554 seconds by postgrey-1.27 at vger.kernel.org; Fri, 20 Aug 2010 13:23:04 EDT From: Henrik Kretzschmar To: linux-fbdev@vger.kernel.org Cc: arnaud.patard@rtp-net.org, u.kleine-koenig@pengutronix.de, jayakumar.lkml@gmail.com, henne@nachtwindheim.de, tj@kernel.org, linux-kernel@vger.kernel.org, linux-m68k@vger.kernel.org Subject: [PATCH 1/4] fbdev: fix section mismatches in q40fb.c Date: Fri, 20 Aug 2010 19:13:24 +0200 Message-Id: <1282324404-3480-1-git-send-email-henne@nachtwindheim.de> X-Mailer: git-send-email 1.7.0.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1411 Lines: 43 This patch moves the q40_fix and q40_var structures from .init.data to .devinit.data. This is where now the probe function resides, which only uses them. Signed-off-by: Henrik Kretzschmar --- This patch is against Linus tree and is not compile tested. It would be nice if someone with a m68k toolchain could test this and tell if it works like expected. drivers/video/q40fb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/q40fb.c b/drivers/video/q40fb.c index fc32c32..f5a39f5 100644 --- a/drivers/video/q40fb.c +++ b/drivers/video/q40fb.c @@ -28,7 +28,7 @@ #define Q40_PHYS_SCREEN_ADDR 0xFE800000 -static struct fb_fix_screeninfo q40fb_fix __initdata = { +static struct fb_fix_screeninfo q40fb_fix __devinitdata = { .id = "Q40", .smem_len = 1024*1024, .type = FB_TYPE_PACKED_PIXELS, @@ -37,7 +37,7 @@ static struct fb_fix_screeninfo q40fb_fix __initdata = { .accel = FB_ACCEL_NONE, }; -static struct fb_var_screeninfo q40fb_var __initdata = { +static struct fb_var_screeninfo q40fb_var __devinitdata = { .xres = 1024, .yres = 512, .xres_virtual = 1024, -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/