diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2007-10-30 02:17:49 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2007-10-30 02:17:49 +0000 |
commit | 83b52e719373f4f34bebbe47f81c7e3b4dc20a78 (patch) | |
tree | 135bb846abc5067e348df62933aab5ebe043facb /src/southbridge/sis/sis966/sis966_pcie.c | |
parent | f32325ed8a186efdc379c1890036a511e30069e9 (diff) |
fix the readwrite/readonly clashes for the pci_driver structs in the sis
code. This is trivial, I did it for the other components before.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2905 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/sis/sis966/sis966_pcie.c')
-rw-r--r-- | src/southbridge/sis/sis966/sis966_pcie.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/southbridge/sis/sis966/sis966_pcie.c b/src/southbridge/sis/sis966/sis966_pcie.c index 3984554378..4b5ccd18f0 100644 --- a/src/southbridge/sis/sis966/sis966_pcie.c +++ b/src/southbridge/sis/sis966/sis966_pcie.c @@ -58,27 +58,27 @@ static struct device_operations pcie_ops = { .ops_pci = &lops_pci, }; -static struct pci_driver pciebc_driver __pci_driver = { +static const struct pci_driver pciebc_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_SIS, .device = PCI_DEVICE_ID_SIS_SIS966_PCIE_B_C, }; -static struct pci_driver pciee_driver __pci_driver = { +static const struct pci_driver pciee_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_SIS, .device = PCI_DEVICE_ID_SIS_SIS966_PCIE_E, }; -static struct pci_driver pciea_driver __pci_driver = { +static const struct pci_driver pciea_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_SIS, .device = PCI_DEVICE_ID_SIS_SIS966_PCIE_A, }; -static struct pci_driver pcief_driver __pci_driver = { +static const struct pci_driver pcief_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_SIS, .device = PCI_DEVICE_ID_SIS_SIS966_PCIE_F, }; -static struct pci_driver pcied_driver __pci_driver = { +static const struct pci_driver pcied_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_SIS, .device = PCI_DEVICE_ID_SIS_SIS966_PCIE_D, |