Various cosmetics, coding style fixes, constifications (trivial).
[coreboot.git] / src / southbridge / via / vt8237r / vt8237r_bridge.c
index 6a15ecfda257035b71aaf225196dea61b776c456..8baaaf8f826e7cf352b9114b74a164ecc20f118d 100644 (file)
@@ -40,18 +40,18 @@ static void bridge_enable(struct device *dev)
        dump_south(dev);
 }
 
-static struct device_operations bridge_ops = {
-       .read_resources = pci_bus_read_resources,
-       .set_resources = pci_dev_set_resources,
-       .enable_resources = pci_bus_enable_resources,
-       .enable = bridge_enable,
-       .scan_bus = pci_scan_bridge,
-       .reset_bus = pci_bus_reset,
-       .ops_pci = 0,
+static const struct device_operations bridge_ops = {
+       .read_resources         = pci_bus_read_resources,
+       .set_resources          = pci_dev_set_resources,
+       .enable_resources       = pci_bus_enable_resources,
+       .enable                 = bridge_enable,
+       .scan_bus               = pci_scan_bridge,
+       .reset_bus              = pci_bus_reset,
+       .ops_pci                = 0,
 };
 
-static struct pci_driver northbridge_driver __pci_driver = {
-       .ops = &bridge_ops,
-       .vendor = PCI_VENDOR_ID_VIA,
-       .device = PCI_DEVICE_ID_VIA_K8T890CE_BR,
+static const struct pci_driver northbridge_driver __pci_driver = {
+       .ops    = &bridge_ops,
+       .vendor = PCI_VENDOR_ID_VIA,
+       .device = PCI_DEVICE_ID_VIA_K8T890CE_BR,
 };