From: Ricardo Ribalda Date: Wed, 28 Aug 2013 07:39:29 +0000 (-0300) Subject: [media] videobuf2: Fix vb2_write prototype X-Git-Tag: v3.13-rc1~47^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=819585bc4811bc54e316dfe521ce163816fa0ad1;p=pandora-kernel.git [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 Acked-by: Marek Szyprowski Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed