[PATCH] fbdev: fix frame buffer devices menu

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thadeu Lima de Souza Cascardo
Date: Wednesday, May 26, 2010 - 10:54 am

Commit f601441916d1e19291d0b4f044b4a7551e2924d0 has inserted the symbol
HAVE_FB_IMX, which does not depend on FB after the menuconfig FB. This
breaks the menu, presenting most of the drivers outside of it, when
using menuconfig.

Moving the symbol to the start of the file, just like HAVE_FB_ATMEL,
fixes the problem without breaking it for iMX25 configurations (tested
with ARCH=arm, no build).

Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
---
 drivers/video/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 1e6fec4..3d94a14 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -8,6 +8,9 @@ menu "Graphics support"
 config HAVE_FB_ATMEL
 	bool
 
+config HAVE_FB_IMX
+	bool
+
 source "drivers/char/agp/Kconfig"
 
 source "drivers/gpu/vga/Kconfig"
@@ -400,9 +403,6 @@ config FB_SA1100
 	  If you plan to use the LCD display with your SA-1100 system, say
 	  Y here.
 
-config HAVE_FB_IMX
-	bool
-
 config FB_IMX
 	tristate "Motorola i.MX LCD support"
 	depends on FB && (HAVE_FB_IMX || ARCH_MX1 || ARCH_MX2)
-- 
1.7.1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fbdev: fix frame buffer devices menu, Thadeu Lima de Souza ..., (Wed May 26, 10:54 am)
Re: [PATCH] fbdev: fix frame buffer devices menu, Uwe Kleine-König, (Wed May 26, 12:02 pm)
Re: [PATCH] fbdev: fix frame buffer devices menu, Baruch Siach, (Wed May 26, 9:03 pm)
Re: [PATCH] fbdev: fix frame buffer devices menu, Andrew Morton, (Tue Jun 1, 2:28 pm)
Re: [PATCH] fbdev: fix frame buffer devices menu, Randy Dunlap, (Tue Jun 1, 2:41 pm)
Re: [PATCH] fbdev: fix frame buffer devices menu, Baruch Siach, (Tue Jun 1, 9:34 pm)