projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pci drivers should be const.
[coreboot.git]
/
src
/
southbridge
/
amd
/
sb700
/
sb700_sm.c
diff --git
a/src/southbridge/amd/sb700/sb700_sm.c
b/src/southbridge/amd/sb700/sb700_sm.c
index 27891dee191324ef2cdc7351260030f79b827e10..dbd7a6ab02c56cc5cbbc4ece099febc07502e875 100644
(file)
--- a/
src/southbridge/amd/sb700/sb700_sm.c
+++ b/
src/southbridge/amd/sb700/sb700_sm.c
@@
-374,7
+374,7
@@
static struct device_operations smbus_ops = {
.ops_pci = &lops_pci,
.ops_smbus_bus = &lops_smbus_bus,
};
.ops_pci = &lops_pci,
.ops_smbus_bus = &lops_smbus_bus,
};
-static struct pci_driver smbus_driver __pci_driver = {
+static
const
struct pci_driver smbus_driver __pci_driver = {
.ops = &smbus_ops,
.vendor = PCI_VENDOR_ID_ATI,
.device = PCI_DEVICE_ID_ATI_SB700_SM,
.ops = &smbus_ops,
.vendor = PCI_VENDOR_ID_ATI,
.device = PCI_DEVICE_ID_ATI_SB700_SM,