From: Arnd Bergmann Date: Wed, 11 Jun 2014 14:49:31 +0000 (-0300) Subject: [media] v4l: omap4iss: tighten omap4iss dependencies X-Git-Tag: omap-for-v3.17/fixes-against-rc2~155^2~304 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ed1a0023c48db707db537ef8aeb21445db637a6;p=pandora-kernel.git [media] v4l: omap4iss: 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 Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed