[Cbe-oss-dev] [PATCH] init: fix test for option CONFIG_PS3_FLASH

Robert Hunter rhunter at U.Arizona.EDU
Sat May 26 09:31:42 EST 2007


This fixes an error I encountered while trying to build the kernel
without framebuffer support.
--

 arch/powerpc/platforms/ps3/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/ps3/setup.c b/arch/powerpc/platforms/ps3/setup.c
index 5aa62c7..0f90e2a 100644
--- a/arch/powerpc/platforms/ps3/setup.c
+++ b/arch/powerpc/platforms/ps3/setup.c
@@ -100,7 +100,7 @@ static void ps3_panic(char *str)
 }

 #if defined(CONFIG_FB_PS3) || defined(CONFIG_FB_PS3_MODULE) || \
-    defined(CONFIG_PS3_FLASH_MODULE) || defined(CONFIG_PS3_FLASH_MODULE)
+    defined(CONFIG_PS3_FLASH) || defined(CONFIG_PS3_FLASH_MODULE)
 static void prealloc(struct ps3_prealloc *p)
 {
        if (!p->size)



More information about the cbe-oss-dev mailing list