projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb21c6
)
i2c/scx200_acb: Make PCI device ids constant
author
Jean Delvare
<
[email protected]
>
Fri, 21 May 2010 16:40:56 +0000
(18:40 +0200)
committer
Jean Delvare
<
[email protected]
>
Fri, 21 May 2010 16:40:56 +0000
(18:40 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/scx200_acb.c
b/drivers/i2c/busses/scx200_acb.c
index 684395b6f3e2dc5af4343074017f47c27ad9f564..36bb61170df35cdee41e70c70094b58357892f9d 100644
(file)
--- 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),