pci drivers should be const.
[coreboot.git] / src / southbridge / amd / sb700 / sb700_sm.c
index 27891dee191324ef2cdc7351260030f79b827e10..dbd7a6ab02c56cc5cbbc4ece099febc07502e875 100644 (file)
@@ -374,7 +374,7 @@ static struct device_operations smbus_ops = {
        .ops_pci = &lops_pci,
        .ops_smbus_bus = &lops_smbus_bus,
 };
-static struct pci_driver smbus_driver __pci_driver = {
+static const struct pci_driver smbus_driver __pci_driver = {
        .ops = &smbus_ops,
        .vendor = PCI_VENDOR_ID_ATI,
        .device = PCI_DEVICE_ID_ATI_SB700_SM,