Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] pvrusb2: fix sparse warning

drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2871:13: warning: symbol 'pvr2_hdw_get_detected_std' was not declared. Should it be static?

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
45bc3fce c8e479c4

+1 -1
+1 -1
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
··· 2868 2868 pvr2_subdev_set_control(hdw, id, #lab, (hdw)->lab##_val); \ 2869 2869 } 2870 2870 2871 - v4l2_std_id pvr2_hdw_get_detected_std(struct pvr2_hdw *hdw) 2871 + static v4l2_std_id pvr2_hdw_get_detected_std(struct pvr2_hdw *hdw) 2872 2872 { 2873 2873 v4l2_std_id std; 2874 2874 std = (v4l2_std_id)hdw->std_mask_avail;