Commit fc2bbfb2 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] Kconfig: use menuconfig instead of menu

This allows disabling all drivers of a certain type as a hole
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b6334460
menu "V4L ISA and parallel port devices" menuconfig MEDIA_PARPORT_SUPPORT
visible if (ISA || PARPORT) && MEDIA_CAMERA_SUPPORT bool "V4L ISA and parallel port devices"
depends on (ISA || PARPORT) && MEDIA_CAMERA_SUPPORT
if MEDIA_PARPORT_SUPPORT
config VIDEO_BWQCAM config VIDEO_BWQCAM
tristate "Quickcam BW Video For Linux" tristate "Quickcam BW Video For Linux"
depends on PARPORT && VIDEO_V4L2 depends on PARPORT && VIDEO_V4L2
...@@ -44,4 +46,4 @@ config VIDEO_W9966 ...@@ -44,4 +46,4 @@ config VIDEO_W9966
Check out <file:Documentation/video4linux/w9966.txt> for more Check out <file:Documentation/video4linux/w9966.txt> for more
information. information.
endmenu endif
# menuconfig MEDIA_PCI_SUPPORT
# DVB device configuration bool "Media PCI Adapters"
# depends on PCI && MEDIA_SUPPORT
menu "Media PCI Adapters" if MEDIA_PCI_SUPPORT
visible if PCI && MEDIA_SUPPORT
if MEDIA_CAMERA_SUPPORT if MEDIA_CAMERA_SUPPORT
comment "Media capture support" comment "Media capture support"
...@@ -42,4 +41,4 @@ source "drivers/media/pci/ngene/Kconfig" ...@@ -42,4 +41,4 @@ source "drivers/media/pci/ngene/Kconfig"
source "drivers/media/pci/ddbridge/Kconfig" source "drivers/media/pci/ddbridge/Kconfig"
endif endif
endmenu endif #MEDIA_PCI_SUPPORT
# menuconfig MEDIA_USB_SUPPORT
# USB media device configuration bool "Media USB Adapters"
# depends on USB && MEDIA_SUPPORT
menu "Media USB Adapters" if MEDIA_USB_SUPPORT
visible if USB && MEDIA_SUPPORT
if MEDIA_CAMERA_SUPPORT if MEDIA_CAMERA_SUPPORT
comment "Webcam devices" comment "Webcam devices"
...@@ -25,7 +24,6 @@ source "drivers/media/usb/hdpvr/Kconfig" ...@@ -25,7 +24,6 @@ source "drivers/media/usb/hdpvr/Kconfig"
source "drivers/media/usb/tlg2300/Kconfig" source "drivers/media/usb/tlg2300/Kconfig"
source "drivers/media/usb/usbvision/Kconfig" source "drivers/media/usb/usbvision/Kconfig"
source "drivers/media/usb/stk1160/Kconfig" source "drivers/media/usb/stk1160/Kconfig"
endif endif
if (MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT) if (MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT)
...@@ -50,4 +48,4 @@ if (MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT) ...@@ -50,4 +48,4 @@ if (MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT)
source "drivers/media/usb/em28xx/Kconfig" source "drivers/media/usb/em28xx/Kconfig"
endif endif
endmenu endif #MEDIA_USB_SUPPORT
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment