diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-14 01:36:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-14 01:36:22 -0300 |
commit | 11fe5889fcd9cb978e5be4c3317e66efd8426fd8 (patch) | |
tree | 2c497f0bbe286e7ad03e721db6e501692982a3ab /linux/drivers/media/Kconfig | |
parent | e04e1ce41be652e866b0e82d7ecc7d60f10b1f41 (diff) | |
download | mediapointer-dvb-s2-11fe5889fcd9cb978e5be4c3317e66efd8426fd8.tar.gz mediapointer-dvb-s2-11fe5889fcd9cb978e5be4c3317e66efd8426fd8.tar.bz2 |
Fix VIDEO_MEDIA Kconfig logic
From: Mauro Carvalho Chehab <mchehab@infradead.org>
If one of DVB_CORE or VIDEO_DEV is a module, the modules that can be used by
both DVB and V4L cores should also be a module, otherwise, it will break its
dependencies. This Kconfig logic implements the following:
CONFIG_VIDEO_DEV CONFIG_DVB_CORE CONFIG_VIDEO_MEDIA
N N N
N M M
N Y Y
M N M
M M M
M Y M
Y N Y
Y M M
Y Y Y
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/Kconfig')
-rw-r--r-- | linux/drivers/media/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/Kconfig b/linux/drivers/media/Kconfig index ddf57e135..7a7803b5d 100644 --- a/linux/drivers/media/Kconfig +++ b/linux/drivers/media/Kconfig @@ -89,8 +89,7 @@ config DVB_CORE config VIDEO_MEDIA tristate - default DVB_CORE || VIDEO_DEV - depends on DVB_CORE || VIDEO_DEV + default (DVB_CORE && (VIDEO_DEV = n)) || (VIDEO_DEV && (DVB_CORE = n)) || (DVB_CORE && VIDEO_DEV) comment "Multimedia drivers" |