aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r--drivers/scsi/scsi_priv.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index 2dc4a83fb84c..e3902fc66278 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -155,8 +155,7 @@ static inline void scsi_netlink_exit(void) {}
155/* scsi_pm.c */ 155/* scsi_pm.c */
156#ifdef CONFIG_PM 156#ifdef CONFIG_PM
157extern const struct dev_pm_ops scsi_bus_pm_ops; 157extern const struct dev_pm_ops scsi_bus_pm_ops;
158#endif 158
159#ifdef CONFIG_PM_RUNTIME
160extern void scsi_autopm_get_target(struct scsi_target *); 159extern void scsi_autopm_get_target(struct scsi_target *);
161extern void scsi_autopm_put_target(struct scsi_target *); 160extern void scsi_autopm_put_target(struct scsi_target *);
162extern int scsi_autopm_get_host(struct Scsi_Host *); 161extern int scsi_autopm_get_host(struct Scsi_Host *);
@@ -166,7 +165,7 @@ static inline void scsi_autopm_get_target(struct scsi_target *t) {}
166static inline void scsi_autopm_put_target(struct scsi_target *t) {} 165static inline void scsi_autopm_put_target(struct scsi_target *t) {}
167static inline int scsi_autopm_get_host(struct Scsi_Host *h) { return 0; } 166static inline int scsi_autopm_get_host(struct Scsi_Host *h) { return 0; }
168static inline void scsi_autopm_put_host(struct Scsi_Host *h) {} 167static inline void scsi_autopm_put_host(struct Scsi_Host *h) {}
169#endif /* CONFIG_PM_RUNTIME */ 168#endif /* CONFIG_PM */
170 169
171extern struct async_domain scsi_sd_pm_domain; 170extern struct async_domain scsi_sd_pm_domain;
172extern struct async_domain scsi_sd_probe_domain; 171extern struct async_domain scsi_sd_probe_domain;