Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c/scx200_acb: Make PCI device ids constant

Make PCI device ids constant as we just did for many other i2c bus
drivers already.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Márton Németh <nm127@freemail.hu>

+1 -1
+1 -1
drivers/i2c/busses/scx200_acb.c
··· 552 552 * the name and the BAR where the I/O address resource is located. ISA 553 553 * devices are flagged with a bar value of -1 */ 554 554 555 - static struct pci_device_id scx200_pci[] = { 555 + static const struct pci_device_id scx200_pci[] __initconst = { 556 556 { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE), 557 557 .driver_data = 0 }, 558 558 { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE),