From: Mauro Carvalho Chehab Date: Wed, 14 May 2008 07:36:22 +0000 (-0300) Subject: V4L/DVB (7898): Fix VIDEO_MEDIA Kconfig logic X-Git-Tag: v2.6.26-rc3~62^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=039d40019f3c5e26ea50ec5af4270189f63365e1;p=platform%2Fkernel%2Flinux-stable.git V4L/DVB (7898): Fix VIDEO_MEDIA Kconfig logic 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 --- diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index ddf57e1..7a7803b 100644 --- a/drivers/media/Kconfig +++ b/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"