projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
media: pci: make video_device const
[linux-2.6-microblaze.git]
/
drivers
/
media
/
pci
/
meye
/
meye.c
diff --git
a/drivers/media/pci/meye/meye.c
b/drivers/media/pci/meye/meye.c
index
9c4a024
..
49e047e
100644
(file)
--- a/
drivers/media/pci/meye/meye.c
+++ b/
drivers/media/pci/meye/meye.c
@@
-1533,7
+1533,7
@@
static const struct v4l2_ioctl_ops meye_ioctl_ops = {
.vidioc_default = vidioc_default,
};
.vidioc_default = vidioc_default,
};
-static struct video_device meye_template = {
+static
const
struct video_device meye_template = {
.name = "meye",
.fops = &meye_fops,
.ioctl_ops = &meye_ioctl_ops,
.name = "meye",
.fops = &meye_fops,
.ioctl_ops = &meye_ioctl_ops,
@@
-1801,7
+1801,7
@@
static void meye_remove(struct pci_dev *pcidev)
printk(KERN_INFO "meye: removed\n");
}
printk(KERN_INFO "meye: removed\n");
}
-static struct pci_device_id meye_pci_tbl[] = {
+static
const
struct pci_device_id meye_pci_tbl[] = {
{ PCI_VDEVICE(KAWASAKI, PCI_DEVICE_ID_MCHIP_KL5A72002), 0 },
{ }
};
{ PCI_VDEVICE(KAWASAKI, PCI_DEVICE_ID_MCHIP_KL5A72002), 0 },
{ }
};