USB: gadget: f_mass_storage: Integrate android customizations
[firefly-linux-kernel-4.4.55.git] / drivers / scsi / scsi_sysfs.c
index 562fb3bce2611b2366603c723a2ae7192d0ad9f4..c3f67373a4f8f2193505603e24b019dca1d051d9 100644 (file)
@@ -381,7 +381,9 @@ struct bus_type scsi_bus_type = {
         .name          = "scsi",
         .match         = scsi_bus_match,
        .uevent         = scsi_bus_uevent,
+#ifdef CONFIG_PM_OPS
        .pm             = &scsi_bus_pm_ops,
+#endif
 };
 EXPORT_SYMBOL_GPL(scsi_bus_type);