diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-26 12:39:02 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-07-26 12:39:02 +0200 |
commit | 72f5824b3f52fedf99d70a834d9be2a10ee318c6 (patch) | |
tree | 6ff5926046a63813899eea2ae7fc20565d92b051 /linux/drivers/media/radio/radio-cadet.c | |
parent | 350bbc5926746c35a38095da02fa7e82d67cca22 (diff) | |
parent | ddb6d77848776ec7f6b3135f2dfa5fbc1544b003 (diff) | |
download | mediapointer-dvb-s2-72f5824b3f52fedf99d70a834d9be2a10ee318c6.tar.gz mediapointer-dvb-s2-72f5824b3f52fedf99d70a834d9be2a10ee318c6.tar.bz2 |
merge: v4l-dvb
Diffstat (limited to 'linux/drivers/media/radio/radio-cadet.c')
-rw-r--r-- | linux/drivers/media/radio/radio-cadet.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/linux/drivers/media/radio/radio-cadet.c b/linux/drivers/media/radio/radio-cadet.c index 88e6502af..54b10c713 100644 --- a/linux/drivers/media/radio/radio-cadet.c +++ b/linux/drivers/media/radio/radio-cadet.c @@ -600,12 +600,7 @@ static const struct file_operations cadet_fops = { .llseek = no_llseek, }; -static struct video_device cadet_radio= -{ - .owner = THIS_MODULE, - .name = "Cadet radio", - .type = VID_TYPE_TUNER, - .fops = &cadet_fops, +static const struct v4l2_ioctl_ops cadet_ioctl_ops = { .vidioc_querycap = vidioc_querycap, .vidioc_g_tuner = vidioc_g_tuner, .vidioc_s_tuner = vidioc_s_tuner, @@ -620,6 +615,13 @@ static struct video_device cadet_radio= .vidioc_s_input = vidioc_s_input, }; +static struct video_device cadet_radio = { + .name = "Cadet radio", + .type = VID_TYPE_TUNER, + .fops = &cadet_fops, + .ioctl_ops = &cadet_ioctl_ops, +}; + #ifdef CONFIG_PNP static struct pnp_device_id cadet_pnp_devices[] = { |