All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c/scx200_acb: Make PCI device ids constant
@ 2010-03-03  9:46 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2010-03-03  9:46 UTC (permalink / raw)
  To: Linux I2C; +Cc: Márton Németh

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

Signed-off-by: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Márton Németh <nm127-Y8qEzhMunLyT9ig0jae3mg@public.gmane.org>
---
 drivers/i2c/busses/scx200_acb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.34-rc0.orig/drivers/i2c/busses/scx200_acb.c	2010-03-03 10:34:33.000000000 +0100
+++ linux-2.6.34-rc0/drivers/i2c/busses/scx200_acb.c	2010-03-03 10:36:27.000000000 +0100
@@ -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),


-- 
Jean Delvare

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-03  9:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-03  9:46 [PATCH] i2c/scx200_acb: Make PCI device ids constant Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.