]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7898): Fix VIDEO_MEDIA Kconfig logic
authorMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 14 May 2008 07:36:22 +0000 (04:36 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 14 May 2008 05:56:47 +0000 (02:56 -0300)
commitd80afd6d3765130ad226e13d395433d44522ad1e
treeb113e4a66cf9e8790e645b90b818cda4f64e6148
parentdce1e3ea3e78850c1b10b361c2edb990efc2a59a
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 <mchehab@infradead.org>
drivers/media/Kconfig