aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-gemtek.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/radio-gemtek.c')
-rw-r--r--drivers/media/radio/radio-gemtek.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers/media/radio/radio-gemtek.c b/drivers/media/radio/radio-gemtek.c
index 4740bacc2f88..f82b59f35e33 100644
--- a/drivers/media/radio/radio-gemtek.c
+++ b/drivers/media/radio/radio-gemtek.c
@@ -553,11 +553,7 @@ static int vidioc_s_audio(struct file *file, void *priv, struct v4l2_audio *a)
553 return 0; 553 return 0;
554} 554}
555 555
556static struct video_device gemtek_radio = { 556static const struct v4l2_ioctl_ops gemtek_ioctl_ops = {
557 .owner = THIS_MODULE,
558 .name = "GemTek Radio card",
559 .type = VID_TYPE_TUNER,
560 .fops = &gemtek_fops,
561 .vidioc_querycap = vidioc_querycap, 557 .vidioc_querycap = vidioc_querycap,
562 .vidioc_g_tuner = vidioc_g_tuner, 558 .vidioc_g_tuner = vidioc_g_tuner,
563 .vidioc_s_tuner = vidioc_s_tuner, 559 .vidioc_s_tuner = vidioc_s_tuner,
@@ -572,6 +568,14 @@ static struct video_device gemtek_radio = {
572 .vidioc_s_ctrl = vidioc_s_ctrl 568 .vidioc_s_ctrl = vidioc_s_ctrl
573}; 569};
574 570
571static struct video_device gemtek_radio = {
572 .owner = THIS_MODULE,
573 .name = "GemTek Radio card",
574 .type = VID_TYPE_TUNER,
575 .fops = &gemtek_fops,
576 .ioctl_ops = &gemtek_ioctl_ops,
577};
578
575/* 579/*
576 * Initialization / cleanup related stuff. 580 * Initialization / cleanup related stuff.
577 */ 581 */