diff options
Diffstat (limited to 'src/southbridge/amd/rs780')
-rw-r--r-- | src/southbridge/amd/rs780/rs780_gfx.c | 10 | ||||
-rw-r--r-- | src/southbridge/amd/rs780/rs780_ht.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/southbridge/amd/rs780/rs780_gfx.c b/src/southbridge/amd/rs780/rs780_gfx.c index 5e70b2d5d6..aa46451410 100644 --- a/src/southbridge/amd/rs780/rs780_gfx.c +++ b/src/southbridge/amd/rs780/rs780_gfx.c @@ -791,28 +791,28 @@ static struct device_operations pcie_ops = { /* * We should list all of them here. * */ -static struct pci_driver pcie_driver_780 __pci_driver = { +static const struct pci_driver pcie_driver_780 __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_RS780_INT_GFX, }; -static struct pci_driver pcie_driver_780c __pci_driver = { +static const struct pci_driver pcie_driver_780c __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_RS780C_INT_GFX, }; -static struct pci_driver pcie_driver_780m __pci_driver = { +static const struct pci_driver pcie_driver_780m __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_RS780M_INT_GFX, }; -static struct pci_driver pcie_driver_780mc __pci_driver = { +static const struct pci_driver pcie_driver_780mc __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_RS780MC_INT_GFX, }; -static struct pci_driver pcie_driver_780e __pci_driver = { +static const struct pci_driver pcie_driver_780e __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_RS780E_INT_GFX, diff --git a/src/southbridge/amd/rs780/rs780_ht.c b/src/southbridge/amd/rs780/rs780_ht.c index 5af19b1dcf..b3fa05a529 100644 --- a/src/southbridge/amd/rs780/rs780_ht.c +++ b/src/southbridge/amd/rs780/rs780_ht.c @@ -83,7 +83,7 @@ static struct device_operations ht_ops = { .ops_pci = &lops_pci, }; -static struct pci_driver ht_driver __pci_driver = { +static const struct pci_driver ht_driver __pci_driver = { .ops = &ht_ops, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_RS780_HT, |