From 8e96ba2978b622bb605caaeb07600c45516651c2 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 16 Mar 2010 23:33:29 +0000 Subject: pci drivers should be const. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5229 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/amd/rs690/rs690_gfx.c | 4 ++-- src/southbridge/amd/rs690/rs690_ht.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/southbridge/amd/rs690') 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, -- cgit v1.2.3