media: imx: add VIDEO_V4L2_SUBDEV_API dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 21 Jul 2017 16:21:25 +0000 (12:21 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 8 Aug 2017 10:32:26 +0000 (06:32 -0400)
commit4560cb4a0c9969260356b0ac9473c45bb1c1101d
tree7344b6259c5808e190b1bf24a3d05c0755846c71
parentd74ce54885714f1427966d9ad7f6c60358358dba
media: imx: add VIDEO_V4L2_SUBDEV_API dependency

Without this, I get a build error:

drivers/staging/media/imx/imx-media-vdic.c: In function '__vdic_get_fmt':
drivers/staging/media/imx/imx-media-vdic.c:554:10: error: implicit declaration of function 'v4l2_subdev_get_try_format'; did you mean 'v4l2_subdev_notify_event'? [-Werror=implicit-function-declaration]

Fixes: e130291212df ("[media] media: Add i.MX media core driver")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/imx/Kconfig