From: Stephen Rothwell Date: Wed, 22 Aug 2007 21:02:00 +0000 (-0700) Subject: Check for PPC32 in imsttfb X-Git-Tag: v2.6.23-rc4~40 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de5986dd3a102b8ae34bf08fe6f45b62b57ab2eb;p=linux-2.6 Check for PPC32 in imsttfb This is the correct fix according to Paul Mackerras and allows an allyesconfig on PPC64 to build. Signed-off-by: Stephen Rothwell Cc: Paul Mackerras Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/imsttfb.c b/drivers/video/imsttfb.c index 5715b8ad0d..94f4511023 100644 --- a/drivers/video/imsttfb.c +++ b/drivers/video/imsttfb.c @@ -1391,7 +1391,7 @@ init_imstt(struct fb_info *info) } } -#if USE_NV_MODES && defined(CONFIG_PPC) +#if USE_NV_MODES && defined(CONFIG_PPC32) { int vmode = init_vmode, cmode = init_cmode;