Signed-off-by: Hans Verkuil <hverkuil@xxxxxxxxx> --- drivers/media/radio/radio-mr800.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c index 3e2b3ae..b4879dd 100644 --- a/drivers/media/radio/radio-mr800.c +++ b/drivers/media/radio/radio-mr800.c @@ -63,6 +63,7 @@ #include <linux/videodev2.h> #include <media/v4l2-device.h> #include <media/v4l2-ioctl.h> +#include <media/v4l2-fh.h> #include <linux/usb.h> #include <linux/version.h> /* for KERNEL_VERSION MACRO */ #include <linux/mutex.h> @@ -513,6 +514,8 @@ static int usb_amradio_resume(struct usb_interface *intf) static const struct v4l2_file_operations usb_amradio_fops = { .owner = THIS_MODULE, .unlocked_ioctl = video_ioctl2, + .open = v4l2_fh_open, + .release = v4l2_fh_release, }; static const struct v4l2_ioctl_ops usb_amradio_ioctl_ops = { -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html