media: ov7670: Add the get_fmt callback
authorWenyou Yang <wenyou.yang@microchip.com>
Mon, 16 Oct 2017 03:14:26 +0000 (05:14 +0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 27 Oct 2017 13:54:24 +0000 (15:54 +0200)
commitc0662dd4e7a407a5ac79cc6ca4d1116bf03d3731
tree8078b6ee20f41a79ce7d4caabfa292124cbc8ec7
parentd94a26f05b017d93513d176959c49996768f446f
media: ov7670: Add the get_fmt callback

Add the get_fmt callback, also enable V4L2_SUBDEV_FL_HAS_DEVNODE flag
to make this subdev has device node.

Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/ov7670.c