aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-10-16 04:29:39 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:20 -0400
commit179b025fea2fa65760f1dcdff3585465d2177159 (patch)
tree9beb639ced5388f5b203c1b3b4725dba96b19a0a
parente9fa7c43aa74fae3a1db04092d2a51005f5b8a21 (diff)
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>
-rw-r--r--drivers/char/Kconfig4
-rw-r--r--drivers/char/agp/Kconfig2
-rw-r--r--drivers/char/drm/Kconfig2
-rw-r--r--drivers/video/Kconfig11
4 files changed, 9 insertions, 10 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index b391776e5bf3..f6f8c03047fa 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -896,10 +896,6 @@ config GPIO_TB0219
896 depends on TANBAC_TB022X 896 depends on TANBAC_TB022X
897 select GPIO_VR41XX 897 select GPIO_VR41XX
898 898
899source "drivers/char/agp/Kconfig"
900
901source "drivers/char/drm/Kconfig"
902
903source "drivers/char/pcmcia/Kconfig" 899source "drivers/char/pcmcia/Kconfig"
904 900
905config MWAVE 901config MWAVE
diff --git a/drivers/char/agp/Kconfig b/drivers/char/agp/Kconfig
index 713533d8a86e..f22c253bc09f 100644
--- a/drivers/char/agp/Kconfig
+++ b/drivers/char/agp/Kconfig
@@ -1,4 +1,4 @@
1config AGP 1menuconfig AGP
2 tristate "/dev/agpgart (AGP Support)" 2 tristate "/dev/agpgart (AGP Support)"
3 depends on ALPHA || IA64 || PARISC || PPC || X86 3 depends on ALPHA || IA64 || PARISC || PPC || X86
4 depends on PCI 4 depends on PCI
diff --git a/drivers/char/drm/Kconfig b/drivers/char/drm/Kconfig
index 0b7ffa5191c6..ba3058dd39a7 100644
--- a/drivers/char/drm/Kconfig
+++ b/drivers/char/drm/Kconfig
@@ -4,7 +4,7 @@
4# This driver provides support for the 4# This driver provides support for the
5# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. 5# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
6# 6#
7config DRM 7menuconfig DRM
8 tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)" 8 tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
9 depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG 9 depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG
10 help 10 help
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 54db0991991c..efe474e2cc3b 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -5,8 +5,9 @@
5menu "Graphics support" 5menu "Graphics support"
6 depends on HAS_IOMEM 6 depends on HAS_IOMEM
7 7
8source "drivers/video/backlight/Kconfig" 8source "drivers/char/agp/Kconfig"
9source "drivers/video/display/Kconfig" 9
10source "drivers/char/drm/Kconfig"
10 11
11config VGASTATE 12config VGASTATE
12 tristate 13 tristate
@@ -19,7 +20,7 @@ config VIDEO_OUTPUT_CONTROL
19 This framework adds support for low-level control of the video 20 This framework adds support for low-level control of the video
20 output switch. 21 output switch.
21 22
22config FB 23menuconfig FB
23 tristate "Support for frame buffer devices" 24 tristate "Support for frame buffer devices"
24 ---help--- 25 ---help---
25 The frame buffer device provides an abstraction for the graphics 26 The frame buffer device provides an abstraction for the graphics
@@ -1896,6 +1897,9 @@ if ARCH_OMAP
1896 source "drivers/video/omap/Kconfig" 1897 source "drivers/video/omap/Kconfig"
1897endif 1898endif
1898 1899
1900source "drivers/video/backlight/Kconfig"
1901source "drivers/video/display/Kconfig"
1902
1899if VT 1903if VT
1900 source "drivers/video/console/Kconfig" 1904 source "drivers/video/console/Kconfig"
1901endif 1905endif
@@ -1905,4 +1909,3 @@ if FB || SGI_NEWPORT_CONSOLE
1905endif 1909endif
1906 1910
1907endmenu 1911endmenu
1908