Skip to content

Commit 179b025

Browse files
rddunlapLinus Torvalds
authored andcommitted
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>
1 parent e9fa7c4 commit 179b025

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

‎drivers/char/Kconfig‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -896,10 +896,6 @@ config GPIO_TB0219
896896
depends on TANBAC_TB022X
897897
select GPIO_VR41XX
898898

899-
source "drivers/char/agp/Kconfig"
900-
901-
source "drivers/char/drm/Kconfig"
902-
903899
source "drivers/char/pcmcia/Kconfig"
904900

905901
config MWAVE

‎drivers/char/agp/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
config AGP
1+
menuconfig AGP
22
tristate "/dev/agpgart (AGP Support)"
33
depends on ALPHA || IA64 || PARISC || PPC || X86
44
depends on PCI

‎drivers/char/drm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This driver provides support for the
55
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
66
#
7-
config DRM
7+
menuconfig DRM
88
tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
99
depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG
1010
help

‎drivers/video/Kconfig‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
menu "Graphics support"
66
depends on HAS_IOMEM
77

8-
source "drivers/video/backlight/Kconfig"
9-
source "drivers/video/display/Kconfig"
8+
source "drivers/char/agp/Kconfig"
9+
10+
source "drivers/char/drm/Kconfig"
1011

1112
config VGASTATE
1213
tristate
@@ -19,7 +20,7 @@ config VIDEO_OUTPUT_CONTROL
1920
This framework adds support for low-level control of the video
2021
output switch.
2122

22-
config FB
23+
menuconfig FB
2324
tristate "Support for frame buffer devices"
2425
---help---
2526
The frame buffer device provides an abstraction for the graphics
@@ -1896,6 +1897,9 @@ if ARCH_OMAP
18961897
source "drivers/video/omap/Kconfig"
18971898
endif
18981899

1900+
source "drivers/video/backlight/Kconfig"
1901+
source "drivers/video/display/Kconfig"
1902+
18991903
if VT
19001904
source "drivers/video/console/Kconfig"
19011905
endif
@@ -1905,4 +1909,3 @@ if FB || SGI_NEWPORT_CONSOLE
19051909
endif
19061910

19071911
endmenu
1908-

0 commit comments

Comments
 (0)