[PATCH] Check for PPC32 in imsttfb
Stephen Rothwell
sfr at canb.auug.org.au
Tue Aug 21 14:30:59 EST 2007
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
---
drivers/video/imsttfb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
This is the correct fix according to Paul Mackerras and allows an
allyesconfig on PPC64 to build.
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
diff --git a/drivers/video/imsttfb.c b/drivers/video/imsttfb.c
index 5715b8a..94f4511 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;
--
1.5.2.4
More information about the Linuxppc-dev
mailing list