diff options
author | Antti Palosaari <crope@iki.fi> | 2014-03-16 18:13:05 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-24 17:21:56 -0300 |
commit | 320c63870941ef3bb6e08e979d894ad6d51340d7 (patch) | |
tree | 3f230ea2916689789f331be19bd0b5cff60f8b61 /drivers/media/tuners/Kconfig | |
parent | ed97a6fe5308e5982d118a25f0697b791af5ec50 (diff) | |
download | linux-stable-320c63870941ef3bb6e08e979d894ad6d51340d7.tar.gz linux-stable-320c63870941ef3bb6e08e979d894ad6d51340d7.tar.bz2 linux-stable-320c63870941ef3bb6e08e979d894ad6d51340d7.zip |
[media] e4000: make VIDEO_V4L2 dependency optional
That tuner driver is mainly for DVB API, but there is some V4L2 API
controls for SDR usage. Make driver compile conditional so that V4L2
is not mandatory. Without the V4L2 support driver is build as a DVB
only, without SDR controls.
Fixes following errors reported by kbuild test robot:
ERROR: "v4l2_ctrl_auto_cluster" [drivers/media/tuners/e4000.ko] undefined!
ERROR: "v4l2_ctrl_new_std" [drivers/media/tuners/e4000.ko] undefined!
ERROR: "v4l2_ctrl_handler_init_class" [drivers/media/tuners/e4000.ko] undefined!
ERROR: "v4l2_ctrl_handler_free" [drivers/media/tuners/e4000.ko] undefined!
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners/Kconfig')
-rw-r--r-- | drivers/media/tuners/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/Kconfig b/drivers/media/tuners/Kconfig index 85c0d96439a5..a1284889cd15 100644 --- a/drivers/media/tuners/Kconfig +++ b/drivers/media/tuners/Kconfig @@ -203,7 +203,7 @@ config MEDIA_TUNER_TDA18212 config MEDIA_TUNER_E4000 tristate "Elonics E4000 silicon tuner" - depends on MEDIA_SUPPORT && I2C && VIDEO_V4L2 + depends on MEDIA_SUPPORT && I2C select REGMAP_I2C default m if !MEDIA_SUBDRV_AUTOSELECT help |