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-gemtek-pci.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-gemtek-pci.c')
-rw-r--r-- | linux/drivers/media/radio/radio-gemtek-pci.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/linux/drivers/media/radio/radio-gemtek-pci.c b/linux/drivers/media/radio/radio-gemtek-pci.c index bf2704841..4b9c5a228 100644 --- a/linux/drivers/media/radio/radio-gemtek-pci.c +++ b/linux/drivers/media/radio/radio-gemtek-pci.c @@ -376,11 +376,7 @@ static const struct file_operations gemtek_pci_fops = { .llseek = no_llseek, }; -static struct video_device vdev_template = { - .owner = THIS_MODULE, - .name = "Gemtek PCI Radio", - .type = VID_TYPE_TUNER, - .fops = &gemtek_pci_fops, +static const struct v4l2_ioctl_ops gemtek_pci_ioctl_ops = { .vidioc_querycap = vidioc_querycap, .vidioc_g_tuner = vidioc_g_tuner, .vidioc_s_tuner = vidioc_s_tuner, @@ -395,6 +391,13 @@ static struct video_device vdev_template = { .vidioc_s_ctrl = vidioc_s_ctrl, }; +static struct video_device vdev_template = { + .name = "Gemtek PCI Radio", + .type = VID_TYPE_TUNER, + .fops = &gemtek_pci_fops, + .ioctl_ops = &gemtek_pci_ioctl_ops, +}; + static int __devinit gemtek_pci_probe( struct pci_dev *pci_dev, const struct pci_device_id *pci_id ) { struct gemtek_pci_card *card; |