fbdev: fix frame buffer devices menu

Commit f601441916 ("imxfb: add support for
i.MX25:) 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).

Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
Cc: Sascha Hauer <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Acked-by: Baruch Siach <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Thadeu Lima de Souza Cascardo 2010-06-04 14:15:00 -07:00 • committed by Linus Torvalds
commit b1413357d9

View file

@ -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)