firewire: mark some structs const
[firefly-linux-kernel-4.4.55.git] / drivers / firewire / fw-ohci.c
index 5d42d18bd4550173ff133e0b117bb4ee9e599e15..d3750a2692e970563cf0190f963395daa5b4715d 100644 (file)
@@ -1146,7 +1146,7 @@ ohci_queue_iso(struct fw_iso_context *base,
        return 0;
 }
 
-static struct fw_card_driver ohci_driver = {
+static const struct fw_card_driver ohci_driver = {
        .name                   = ohci_driver_name,
        .enable                 = ohci_enable,
        .update_phy_reg         = ohci_update_phy_reg,