diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-18 12:44:05 -0500 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-18 12:44:05 -0500 |
| commit | 035f10ee4e978db0a01d0f832e328b4a62f8310e (patch) | |
| tree | f9c8e95958c24450c37c27b789ac84513b6c6ff1 /include/scsi | |
| parent | 0a0666428680c4a68d050491d5323a2ef05e08a7 (diff) | |
| parent | f2ea5e1708da1bd7cb11c2cd967071e23ec9e347 (diff) | |
Merge branch 'pm-runtime'
* pm-runtime:
power / PM: Eliminate CONFIG_PM_RUNTIME
NFC / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
SCSI / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
tracing / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
x86 / PM: Replace CONFIG_PM_RUNTIME in io_apic.c
PM: Remove the SET_PM_RUNTIME_PM_OPS() macro
mmc: atmel-mci: use SET_RUNTIME_PM_OPS() macro
PM / Kconfig: Replace PM_RUNTIME with PM in dependencies
ARM / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
sound / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
phy / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
video / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
tty / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
spi: Replace CONFIG_PM_RUNTIME with CONFIG_PM
Diffstat (limited to 'include/scsi')
| -rw-r--r-- | include/scsi/scsi_device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 6364e23454dd..3a4edd1f7dbb 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h | |||
| @@ -441,13 +441,13 @@ static inline int scsi_execute_req(struct scsi_device *sdev, | |||
| 441 | extern void sdev_disable_disk_events(struct scsi_device *sdev); | 441 | extern void sdev_disable_disk_events(struct scsi_device *sdev); |
| 442 | extern void sdev_enable_disk_events(struct scsi_device *sdev); | 442 | extern void sdev_enable_disk_events(struct scsi_device *sdev); |
| 443 | 443 | ||
| 444 | #ifdef CONFIG_PM_RUNTIME | 444 | #ifdef CONFIG_PM |
| 445 | extern int scsi_autopm_get_device(struct scsi_device *); | 445 | extern int scsi_autopm_get_device(struct scsi_device *); |
| 446 | extern void scsi_autopm_put_device(struct scsi_device *); | 446 | extern void scsi_autopm_put_device(struct scsi_device *); |
| 447 | #else | 447 | #else |
| 448 | static inline int scsi_autopm_get_device(struct scsi_device *d) { return 0; } | 448 | static inline int scsi_autopm_get_device(struct scsi_device *d) { return 0; } |
| 449 | static inline void scsi_autopm_put_device(struct scsi_device *d) {} | 449 | static inline void scsi_autopm_put_device(struct scsi_device *d) {} |
| 450 | #endif /* CONFIG_PM_RUNTIME */ | 450 | #endif /* CONFIG_PM */ |
| 451 | 451 | ||
| 452 | static inline int __must_check scsi_device_reprobe(struct scsi_device *sdev) | 452 | static inline int __must_check scsi_device_reprobe(struct scsi_device *sdev) |
| 453 | { | 453 | { |
