]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-fimc: fix compiler warning
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 5 Sep 2012 08:10:48 +0000 (05:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 00:27:59 +0000 (21:27 -0300)
commit5c112448c4fae91c0c28881adfec87ae2b6161eb
tree6dfa5c2060d7d2c999ef7f1a14e09ffac9b79098
parentdfedd28a354107577453185fcdf07d9a2f8f9c0f
[media] s5p-fimc: fix compiler warning

drivers/media/platform/s5p-fimc/fimc-m2m.c:561:2: warning: passing argument 2 of 'fimc_m2m_try_crop' discards 'const' qualifier from pointer target type [enabled by default]
drivers/media/platform/s5p-fimc/fimc-m2m.c:502:12: note: expected 'struct v4l2_crop *' but argument is of type 'const struct v4l2_crop *'
This is fall-out from this commit:
commit 5d2a615958cc71d5b5986cea762e728c7fb51101
Author: Hans Verkuil <hans.verkuil@cisco.com>
    [media] v4l2: make vidioc_s_crop const

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-fimc/fimc-m2m.c