diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index 810462f8a374b63ac3096414ada7b9aff6d5732d..bb495b7f4680b112b96d82bad4a8320a29e91b11 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h @@ -341,7 +341,7 @@ extern int video_usercopy(struct inode *inode, struct file *file, extern struct video_device* video_devdata(struct file*); #define to_video_device(cd) container_of(cd, struct video_device, class_dev) -static inline int +static inline int __must_check video_device_create_file(struct video_device *vfd, struct class_device_attribute *attr) {