pci drivers should be const.
[coreboot.git] / src / southbridge / amd / sb700 / sb700_sata.c
index 6e9c49696b4fff266e3788c4caa323ce92383f1d..cd5084e7450111cc221dd8e9b246141d40038947 100644 (file)
@@ -284,7 +284,7 @@ static struct device_operations sata_ops = {
        .ops_pci = &lops_pci,
 };
 
-static struct pci_driver sata0_driver __pci_driver = {
+static const struct pci_driver sata0_driver __pci_driver = {
        .ops = &sata_ops,
        .vendor = PCI_VENDOR_ID_ATI,
        .device = PCI_DEVICE_ID_ATI_SB700_SATA,