-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2
This patch removes the dependendency of VIDEO_AU0828 on VIDEO_V4L2 by creating a new Kconfig option, VIDEO_AU0828_V4L2, which enables analog video capture support and depends on VIDEO_V4L2 itself. With VIDEO_AU0828_V4L2 disabled, the driver will only support digital television and will not depend on the v4l2-core. With VIDEO_AU0828_V4L2 enabled, the driver will be built with the analog v4l2 support included. By default, the VIDEO_AU0828_V4L2 option will be set to Y, so as to preserve the original behavior. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
- Loading branch information
Michael Krufky
authored and
Mauro Carvalho Chehab
committed
Dec 17, 2012
1 parent
c70ffd5
commit 8a4e786
Showing
7 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,28 @@ | ||
|
||
config VIDEO_AU0828 | ||
tristate "Auvitek AU0828 support" | ||
depends on I2C && INPUT && DVB_CORE && USB && VIDEO_V4L2 | ||
depends on I2C && INPUT && DVB_CORE && USB | ||
select I2C_ALGOBIT | ||
select VIDEO_TVEEPROM | ||
select VIDEOBUF_VMALLOC | ||
select DVB_AU8522_DTV if MEDIA_SUBDRV_AUTOSELECT | ||
select DVB_AU8522_V4L if MEDIA_SUBDRV_AUTOSELECT | ||
select MEDIA_TUNER_XC5000 if MEDIA_SUBDRV_AUTOSELECT | ||
select MEDIA_TUNER_MXL5007T if MEDIA_SUBDRV_AUTOSELECT | ||
select MEDIA_TUNER_TDA18271 if MEDIA_SUBDRV_AUTOSELECT | ||
---help--- | ||
This is a video4linux driver for Auvitek's USB device. | ||
This is a hybrid analog/digital tv capture driver for | ||
Auvitek's AU0828 USB device. | ||
|
||
To compile this driver as a module, choose M here: the | ||
module will be called au0828 | ||
|
||
config VIDEO_AU0828_V4L2 | ||
bool "Auvitek AU0828 v4l2 analog video support" | ||
depends on VIDEO_AU0828 && VIDEO_V4L2 | ||
select DVB_AU8522_V4L if MEDIA_SUBDRV_AUTOSELECT | ||
default y | ||
---help--- | ||
This is a video4linux driver for Auvitek's USB device. | ||
|
||
Choose Y here to include support for v4l2 analog video | ||
capture within the au0828 driver. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters