diff options
Diffstat (limited to 'src/northbridge/amd/amdfam10')
-rw-r--r-- | src/northbridge/amd/amdfam10/misc_control.c | 2 | ||||
-rw-r--r-- | src/northbridge/amd/amdfam10/northbridge.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/amd/amdfam10/misc_control.c b/src/northbridge/amd/amdfam10/misc_control.c index 5286529e13..c0650e72f0 100644 --- a/src/northbridge/amd/amdfam10/misc_control.c +++ b/src/northbridge/amd/amdfam10/misc_control.c @@ -147,7 +147,7 @@ static struct device_operations mcf3_ops = { .ops_pci = 0, }; -static struct pci_driver mcf3_driver __pci_driver = { +static const struct pci_driver mcf3_driver __pci_driver = { .ops = &mcf3_ops, .vendor = PCI_VENDOR_ID_AMD, .device = 0x1203, diff --git a/src/northbridge/amd/amdfam10/northbridge.c b/src/northbridge/amd/amdfam10/northbridge.c index 86f3e5224f..4e1ccd6059 100644 --- a/src/northbridge/amd/amdfam10/northbridge.c +++ b/src/northbridge/amd/amdfam10/northbridge.c @@ -633,7 +633,7 @@ static struct device_operations northbridge_operations = { }; -static struct pci_driver mcf0_driver __pci_driver = { +static const struct pci_driver mcf0_driver __pci_driver = { .ops = &northbridge_operations, .vendor = PCI_VENDOR_ID_AMD, .device = 0x1200, |