From: Jean Delvare Date: Fri, 21 May 2010 16:40:56 +0000 (+0200) Subject: i2c/scx200_acb: Make PCI device ids constant X-Git-Tag: accepted/tizen/common/20141203.182822~11699^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e624dbd32446f40caad05284bf6cb8a5337d2048;p=platform%2Fkernel%2Flinux-arm64.git 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 Cc: Márton Németh --- diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c index 684395b..36bb611 100644 --- a/drivers/i2c/busses/scx200_acb.c +++ b/drivers/i2c/busses/scx200_acb.c @@ -552,7 +552,7 @@ static int __init scx200_create_isa(const char *text, unsigned long base, * 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),