]> git.baikalelectronics.ru Git - kernel.git/commit
[media] timberdale: do not select TIMB_DMA
authorArnd Bergmann <arnd@arndb.de>
Wed, 28 Jan 2015 21:17:41 +0000 (18:17 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 13:00:35 +0000 (11:00 -0200)
commit9c69f633fca7b52c2b92bc492647c88b9736872b
tree5b894fc8ac57ad5dafb7472b93aae77236ed1bfa
parent07b0468326563fc98193c73def0897314c2d34be
[media] timberdale: do not select TIMB_DMA

The timberdale media driver requires the use of the respective
dma engine driver, but that may not be enabled, causing a
Kconfig warning:

warning: (VIDEO_TIMBERDALE) selects TIMB_DMA which has unmet direct dependencies (DMADEVICES && MFD_TIMBERDALE)

This fixes the dependency by removing the inappropriate 'select'
statement and replacing it with a direct dependency on the
drivers that provide the services this needs.

Fixes: c1bd76259a22b ("[media] enable COMPILE_TEST for media drivers")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/Kconfig