diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-16 23:33:29 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-16 23:33:29 +0000 |
commit | 8e96ba2978b622bb605caaeb07600c45516651c2 (patch) | |
tree | ab2c348deb5ba5518812cf46e67d0cac90dd4a44 /src/southbridge/amd/rs690 | |
parent | 859e94a30420c726a0043a00a73abb946cfb94c3 (diff) | |
download | coreboot-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/rs690')
-rw-r--r-- | src/southbridge/amd/rs690/rs690_gfx.c | 4 | ||||
-rw-r--r-- | src/southbridge/amd/rs690/rs690_ht.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/amd/rs690/rs690_gfx.c b/src/southbridge/amd/rs690/rs690_gfx.c index 3199f087f3..3c87fa0447 100644 --- a/src/southbridge/amd/rs690/rs690_gfx.c +++ b/src/southbridge/amd/rs690/rs690_gfx.c @@ -211,13 +211,13 @@ static struct device_operations pcie_ops = { * The dev id of 690G is 791E, while the id of 690M, 690T is 791F. * We should list both of them here. * */ -static struct pci_driver pcie_driver_690t __pci_driver = { +static const struct pci_driver pcie_driver_690t __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_RS690MT_INT_GFX, }; -static struct pci_driver pcie_driver_690 __pci_driver = { +static const struct pci_driver pcie_driver_690 __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_RS690_INT_GFX, diff --git a/src/southbridge/amd/rs690/rs690_ht.c b/src/southbridge/amd/rs690/rs690_ht.c index 40a85f6c17..ef4b34296e 100644 --- a/src/southbridge/amd/rs690/rs690_ht.c +++ b/src/southbridge/amd/rs690/rs690_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_ATI, .device = PCI_DEVICE_ID_ATI_RS690_HT, |