[media] videobuf2: Fix vb2_write prototype
authorRicardo Ribalda <ricardo.ribalda@gmail.com>
Wed, 28 Aug 2013 07:39:29 +0000 (04:39 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 26 Sep 2013 10:31:06 +0000 (07:31 -0300)
commit819585bc4811bc54e316dfe521ce163816fa0ad1
tree535e76be27bc93ede022c109407736e15c549ad4
parentee35fa2267df3ebe36819dd5381e0067d574131f
[media] videobuf2: Fix vb2_write prototype

struct v4_file_operations defines the data param as
const char __user *data but on vb2 is defined as
char __user *data.
This patch fixes the warnings produced by this. ie:
drivers/qtec/qtec_xform.c:817:2: warning: initialization from
incompatible pointer type [enabled by default]
drivers/qtec/qtec_xform.c:817:2: warning: (near initialization for
‘qtec_xform_v4l_fops.write’) [enabled by default]

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/videobuf2-core.c
include/media/videobuf2-core.h