diff mbox

ov2659: "error: implicit declaration of function ‘v4l2_subdev_get_try_format’"

Message ID 554A00F2.5000007@bmw-carit.de (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Wagner May 6, 2015, 11:54 a.m. UTC
On 05/06/2015 01:27 PM, Daniel Wagner wrote:
> Hi,
> 
> I got this doing a randconfig on v4.1-rc2

Since this hits me all the time I did following hack which is probably
completely stupid but hey it works :)

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 6f30ea7..8b05681 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -468,7 +468,7 @@  config VIDEO_SMIAPP_PLL

 config VIDEO_OV2659
        tristate "OmniVision OV2659 sensor support"
-       depends on VIDEO_V4L2 && I2C
+       depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
        depends on MEDIA_CAMERA_SUPPORT
        ---help---
          This is a Video4Linux2 sensor-level driver for the OmniVision