diff options
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
-rw-r--r-- | drivers/scsi/scsi_sysfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c index 562fb3bce261..c3f67373a4f8 100644 --- a/drivers/scsi/scsi_sysfs.c +++ b/drivers/scsi/scsi_sysfs.c | |||
@@ -381,7 +381,9 @@ struct bus_type scsi_bus_type = { | |||
381 | .name = "scsi", | 381 | .name = "scsi", |
382 | .match = scsi_bus_match, | 382 | .match = scsi_bus_match, |
383 | .uevent = scsi_bus_uevent, | 383 | .uevent = scsi_bus_uevent, |
384 | #ifdef CONFIG_PM_OPS | ||
384 | .pm = &scsi_bus_pm_ops, | 385 | .pm = &scsi_bus_pm_ops, |
386 | #endif | ||
385 | }; | 387 | }; |
386 | EXPORT_SYMBOL_GPL(scsi_bus_type); | 388 | EXPORT_SYMBOL_GPL(scsi_bus_type); |
387 | 389 | ||