pci drivers should be const.
[coreboot.git] / src / southbridge / intel / i3100 / i3100_ehci.c
index 0c391c2647df0e8886043298c931dfdf43a2a0b5..195ea99cd1fd4d5fbbcfc793c45a7d1a5eee98d7 100644 (file)
@@ -55,13 +55,13 @@ static struct device_operations ehci_ops  = {
        .ops_pci          = &lops_pci,
 };
 
-static struct pci_driver ehci_driver __pci_driver = {
+static const struct pci_driver ehci_driver __pci_driver = {
        .ops    = &ehci_ops,
        .vendor = PCI_VENDOR_ID_INTEL,
        .device = PCI_DEVICE_ID_INTEL_3100_EHCI,
 };
 
-static struct pci_driver ehci_driver_ep80579 __pci_driver = {
+static const struct pci_driver ehci_driver_ep80579 __pci_driver = {
        .ops    = &ehci_ops,
        .vendor = PCI_VENDOR_ID_INTEL,
        .device = PCI_DEVICE_ID_INTEL_EP80579_EHCI,