usb: gadget: f_uvc: make uvc_v4l2_fops const
Make this const as it is only stored in the const field of a structure video_device in the file referencing it. Make the declaration const too. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:

committed by
Felipe Balbi

parent
ca02a5af65
commit
87e981d51a
@@ -17,6 +17,6 @@
|
||||
#define __UVC_V4L2_H__
|
||||
|
||||
extern const struct v4l2_ioctl_ops uvc_v4l2_ioctl_ops;
|
||||
extern struct v4l2_file_operations uvc_v4l2_fops;
|
||||
extern const struct v4l2_file_operations uvc_v4l2_fops;
|
||||
|
||||
#endif /* __UVC_V4L2_H__ */
|
||||
|
Reference in New Issue
Block a user