summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/rs780
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-16 23:33:29 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-16 23:33:29 +0000
commit8e96ba2978b622bb605caaeb07600c45516651c2 (patch)
treeab2c348deb5ba5518812cf46e67d0cac90dd4a44 /src/southbridge/amd/rs780
parent859e94a30420c726a0043a00a73abb946cfb94c3 (diff)
downloadcoreboot-8e96ba2978b622bb605caaeb07600c45516651c2.tar.xz
pci drivers should be const.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5229 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/rs780')
-rw-r--r--src/southbridge/amd/rs780/rs780_gfx.c10
-rw-r--r--src/southbridge/amd/rs780/rs780_ht.c2
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,