Commit 4142cccf authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] v4l: config cleanups

Cleanup the video4linux driver configuration by using "select" instead of
"default if ...".
Signed-off-by: default avatarGerd Knorr <kraxel@bytesex.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 268e1ba4
...@@ -34,27 +34,15 @@ source "drivers/media/common/Kconfig" ...@@ -34,27 +34,15 @@ source "drivers/media/common/Kconfig"
config VIDEO_TUNER config VIDEO_TUNER
tristate tristate
default y if VIDEO_BT848=y || VIDEO_SAA7134=y || VIDEO_MXB=y || VIDEO_CX88=y
default m if VIDEO_BT848=m || VIDEO_SAA7134=m || VIDEO_MXB=m || VIDEO_CX88=m
depends on VIDEO_DEV
config VIDEO_BUF config VIDEO_BUF
tristate tristate
default y if VIDEO_BT848=y || VIDEO_SAA7134=y || VIDEO_SAA7146=y || VIDEO_CX88=y
default m if VIDEO_BT848=m || VIDEO_SAA7134=m || VIDEO_SAA7146=m || VIDEO_CX88=m
depends on VIDEO_DEV
config VIDEO_BTCX config VIDEO_BTCX
tristate tristate
default y if VIDEO_BT848=y || VIDEO_CX88=y
default m if VIDEO_BT848=m || VIDEO_CX88=m
depends on VIDEO_DEV
config VIDEO_IR config VIDEO_IR
tristate tristate
default y if VIDEO_BT848=y || VIDEO_SAA7134=y
default m if VIDEO_BT848=m || VIDEO_SAA7134=m
depends on VIDEO_DEV
endmenu endmenu
...@@ -9,8 +9,13 @@ comment "Video Adapters" ...@@ -9,8 +9,13 @@ comment "Video Adapters"
config VIDEO_BT848 config VIDEO_BT848
tristate "BT848 Video For Linux" tristate "BT848 Video For Linux"
depends on VIDEO_DEV && PCI && I2C && FW_LOADER depends on VIDEO_DEV && PCI && I2C
select I2C_ALGOBIT select I2C_ALGOBIT
select FW_LOADER
select VIDEO_BTCX
select VIDEO_BUF
select VIDEO_IR
select VIDEO_TUNER
---help--- ---help---
Support for BT848 based frame grabber/overlay boards. This includes Support for BT848 based frame grabber/overlay boards. This includes
the Miro, Hauppauge and STB boards. Please read the material in the Miro, Hauppauge and STB boards. Please read the material in
...@@ -230,6 +235,9 @@ config VIDEO_MEYE ...@@ -230,6 +235,9 @@ config VIDEO_MEYE
config VIDEO_SAA7134 config VIDEO_SAA7134
tristate "Philips SAA7134 support" tristate "Philips SAA7134 support"
depends on VIDEO_DEV && PCI && I2C depends on VIDEO_DEV && PCI && I2C
select VIDEO_BUF
select VIDEO_IR
select VIDEO_TUNER
---help--- ---help---
This is a video4linux driver for Philips SAA7130/7134 based This is a video4linux driver for Philips SAA7130/7134 based
TV cards. TV cards.
...@@ -241,6 +249,7 @@ config VIDEO_MXB ...@@ -241,6 +249,7 @@ config VIDEO_MXB
tristate "Siemens-Nixdorf 'Multimedia eXtension Board'" tristate "Siemens-Nixdorf 'Multimedia eXtension Board'"
depends on VIDEO_DEV && PCI depends on VIDEO_DEV && PCI
select VIDEO_SAA7146_VV select VIDEO_SAA7146_VV
select VIDEO_TUNER
---help--- ---help---
This is a video4linux driver for the 'Multimedia eXtension Board' This is a video4linux driver for the 'Multimedia eXtension Board'
TV card by Siemens-Nixdorf. TV card by Siemens-Nixdorf.
...@@ -287,7 +296,11 @@ config VIDEO_HEXIUM_GEMINI ...@@ -287,7 +296,11 @@ config VIDEO_HEXIUM_GEMINI
config VIDEO_CX88 config VIDEO_CX88
tristate "Conexant 2388x (bt878 successor) support" tristate "Conexant 2388x (bt878 successor) support"
depends on VIDEO_DEV && PCI && I2C_ALGOBIT && EXPERIMENTAL depends on VIDEO_DEV && PCI && EXPERIMENTAL
select I2C_ALGOBIT
select VIDEO_BTCX
select VIDEO_BUF
select VIDEO_TUNER
---help--- ---help---
This is a video4linux driver for Conexant 2388x based This is a video4linux driver for Conexant 2388x based
TV cards. TV cards.
......
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