]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
[media] s5p-mfc: Fix compilation warning
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 13 Oct 2012 10:18:34 +0000 (07:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Oct 2012 16:32:13 +0000 (14:32 -0200)
commite1393b5992b2b5b20b086c5f587e6c269d68e157
treea88d894dabf4516d9e4987733104e715a84b8e93
parentff38c21663c5f9b8d33cf2979e07e811f2560161
[media] s5p-mfc: Fix compilation warning

Added missing const qualifier.
Without this patch compiler gives the following warning:
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1576:2: warning:
initialization from incompatible pointer type [enabled by default]
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1576:2: warning:
(near initialization for ‘s5p_mfc_enc_ioctl_ops.vidioc_subscribe_event’)
[enabled by default]

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c