瀏覽代碼

video gfx: merge kconfig menus

Move AGP and DRM menus into the video graphics support menu.
  They use 'menuconfig' so that they can all be disabled with
  one selection.
Make the console menu use 'menuconfig' so that it can all be
  disabled with one selection.
Make the frame buffer menu use 'menuconfig' so that it can all be
  disabled with one selection.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Randy Dunlap 17 年之前
父節點
當前提交
179b025fea
共有 4 個文件被更改,包括 9 次插入10 次删除
  1. 0 4
      drivers/char/Kconfig
  2. 1 1
      drivers/char/agp/Kconfig
  3. 1 1
      drivers/char/drm/Kconfig
  4. 7 4
      drivers/video/Kconfig

+ 0 - 4
drivers/char/Kconfig

@@ -896,10 +896,6 @@ config GPIO_TB0219
 	depends on TANBAC_TB022X
 	depends on TANBAC_TB022X
 	select GPIO_VR41XX
 	select GPIO_VR41XX
 
 
-source "drivers/char/agp/Kconfig"
-
-source "drivers/char/drm/Kconfig"
-
 source "drivers/char/pcmcia/Kconfig"
 source "drivers/char/pcmcia/Kconfig"
 
 
 config MWAVE
 config MWAVE

+ 1 - 1
drivers/char/agp/Kconfig

@@ -1,4 +1,4 @@
-config AGP
+menuconfig AGP
 	tristate "/dev/agpgart (AGP Support)"
 	tristate "/dev/agpgart (AGP Support)"
 	depends on ALPHA || IA64 || PARISC || PPC || X86
 	depends on ALPHA || IA64 || PARISC || PPC || X86
 	depends on PCI
 	depends on PCI

+ 1 - 1
drivers/char/drm/Kconfig

@@ -4,7 +4,7 @@
 # This driver provides support for the
 # This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 #
 #
-config DRM
+menuconfig DRM
 	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
 	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
 	depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG
 	depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG
 	help
 	help

+ 7 - 4
drivers/video/Kconfig

@@ -5,8 +5,9 @@
 menu "Graphics support"
 menu "Graphics support"
 	depends on HAS_IOMEM
 	depends on HAS_IOMEM
 
 
-source "drivers/video/backlight/Kconfig"
-source "drivers/video/display/Kconfig"
+source "drivers/char/agp/Kconfig"
+
+source "drivers/char/drm/Kconfig"
 
 
 config VGASTATE
 config VGASTATE
        tristate
        tristate
@@ -19,7 +20,7 @@ config VIDEO_OUTPUT_CONTROL
 	  This framework adds support for low-level control of the video 
 	  This framework adds support for low-level control of the video 
 	  output switch.
 	  output switch.
 
 
-config FB
+menuconfig FB
 	tristate "Support for frame buffer devices"
 	tristate "Support for frame buffer devices"
 	---help---
 	---help---
 	  The frame buffer device provides an abstraction for the graphics
 	  The frame buffer device provides an abstraction for the graphics
@@ -1896,6 +1897,9 @@ if ARCH_OMAP
 	source "drivers/video/omap/Kconfig"
 	source "drivers/video/omap/Kconfig"
 endif
 endif
 
 
+source "drivers/video/backlight/Kconfig"
+source "drivers/video/display/Kconfig"
+
 if VT
 if VT
 	source "drivers/video/console/Kconfig"
 	source "drivers/video/console/Kconfig"
 endif
 endif
@@ -1905,4 +1909,3 @@ if FB || SGI_NEWPORT_CONSOLE
 endif
 endif
 
 
 endmenu
 endmenu
-