[media] media: davinci: vpbe: fix build warning
authorLad, Prabhakar <prabhakar.lad@ti.com>
Wed, 3 Oct 2012 05:13:28 +0000 (02:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 5 Oct 2012 17:28:46 +0000 (14:28 -0300)
commitfabc4e948b0ebe128ec54687bae01f216e34bb41
tree773d7a5fc5a020e58f38e82f088aa1178faebee7
parentad7dcb334a0dbba9ac611d43c4e0ff7973eaa1cf
[media] media: davinci: vpbe: fix build warning

recent patch with commit id 4f996594ceaf6c3f9bc42b40c40b0f7f87b79c86
which makes vidioc_s_crop const, was causing a following build warning,
vpbe_display.c: In function 'vpbe_display_s_crop':
vpbe_display.c:640: warning: initialization discards qualifiers from pointer target type
This patch fixes the above build warning.

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpbe_display.c