i2c/scx200_acb: Make PCI device ids constant
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Cc Márton Németh <[email protected]>
--- drivers/i2c/busses/scx200_acb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/scx200_acb.c +1 -1
@@ -551,7 +551,7 @@ static int __init scx200_create_isa(cons* the name and the BAR where the I/O address resource is located. ISA * devices are flagged with a bar value of -1 */ -static struct pci_device_id scx200_pci[] = { +static const struct pci_device_id scx200_pci[]__initconst = { {PCI_DEVICE (PCI_VENDOR_ID_NS , PCI_DEVICE_ID_NS_SCx200_BRIDGE), .driver_data =0 }, {PCI_DEVICE (PCI_VENDOR_ID_NS ,PCI_DEVICE_ID_NS_SC1100_BRIDGE ),
Signature · 1 line
Jean Delvare