]> git.baikalelectronics.ru Git - kernel.git/commit
[media] staging: tighten omap4iss dependencies
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Jun 2014 14:49:31 +0000 (11:49 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 19 Jun 2014 16:11:19 +0000 (13:11 -0300)
commitff986d6f71f6d99fba06f7b6b215d2ec9719224d
tree34377bf26dafa42bc2803f862dc0349b17156a36
parent7fe5701470fad861d0b65b7c5dc180fe8014eb4b
[media] staging: tighten omap4iss dependencies

The OMAP4 camera support depends on I2C and VIDEO_V4L2, both
of which can be loadable modules. This causes build failures
if we want the camera driver to be built-in.

This can be solved by turning the option into "tristate",
which unfortunately causes another problem, because the
driver incorrectly calls a platform-internal interface
for omap4_ctrl_pad_readl/omap4_ctrl_pad_writel.

Instead, this patch just forbids the invalid configurations
and ensures that the driver can only be built if all its
dependencies are built-in.

Cc: stable@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/omap4iss/Kconfig