Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a67483d2 authored by Németh Márton's avatar Németh Márton Committed by Stefan Richter
Browse files

firewire: make PCI device id constant



The id_table field of the struct pci_driver is constant in <linux/pci.h>
so it is worth to make pci_table also constant.  Found with Coccinelle.

Signed-off-by: default avatarMárton Németh <nm127@freemail.hu>
Cc: Julia Lawall <julia@diku.dk>
Cc: cocci@diku.dk
Signed-off-by: Stefan Richter stefanr@s5r6.in-berlin.de> (changelog)
parent 13b302d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2657,7 +2657,7 @@ static int pci_resume(struct pci_dev *dev)
}
#endif

static struct pci_device_id pci_table[] = {
static const struct pci_device_id pci_table[] = {
	{ PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_FIREWIRE_OHCI, ~0) },
	{ }
};