summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/adv7180.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-01-29 13:12:05 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-02 11:09:02 -0200
commit24692801a4d03dabb64e38b10d089beb3710be9d (patch)
tree37be9f2750f2d514128d7b95c00559f1045fb726 /drivers/media/i2c/adv7180.c
parenteb79dbf6c2b4d091bc358074ff39795e4054db5c (diff)
downloadblackbird-op-linux-24692801a4d03dabb64e38b10d089beb3710be9d.tar.gz
blackbird-op-linux-24692801a4d03dabb64e38b10d089beb3710be9d.zip
[media] davinci: add V4L2 dependencies
The davinci media drivers use videobuf2, which they enable through a 'select' statement. If one of these drivers is built-in, but the v4l2 core is a loadable modules, we end up with a link error: drivers/built-in.o: In function `vb2_fop_mmap': :(.text+0x113e84): undefined reference to `video_devdata' drivers/built-in.o: In function `vb2_ioctl_create_bufs': :(.text+0x114710): undefined reference to `video_devdata' drivers/built-in.o: In function `vb2_ioctl_reqbufs': :(.text+0x114ed8): undefined reference to `video_devdata' drivers/built-in.o: In function `vb2_ioctl_querybuf': :(.text+0x115530): undefined reference to `video_devdata' To solve this, we need to add a dependency on VIDEO_V4L2, which enforces that the davinci drivers themselves can only be loadable modules if V4L2 is not built-in, and they do not cause the videobuf2 code to be built-in. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c/adv7180.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud