diff options
Diffstat (limited to 'include/scsi/scsi_host.h')
-rw-r--r-- | include/scsi/scsi_host.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 39c6f8cc20c3..e618e711ea57 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
@@ -552,6 +552,9 @@ struct Scsi_Host { | |||
552 | /* task mgmt function in progress */ | 552 | /* task mgmt function in progress */ |
553 | unsigned tmf_in_progress:1; | 553 | unsigned tmf_in_progress:1; |
554 | 554 | ||
555 | /* Asynchronous scan in progress */ | ||
556 | unsigned async_scan:1; | ||
557 | |||
555 | /* | 558 | /* |
556 | * Optional work queue to be utilized by the transport | 559 | * Optional work queue to be utilized by the transport |
557 | */ | 560 | */ |
@@ -648,11 +651,6 @@ extern const char *scsi_host_state_name(enum scsi_host_state); | |||
648 | 651 | ||
649 | extern u64 scsi_calculate_bounce_limit(struct Scsi_Host *); | 652 | extern u64 scsi_calculate_bounce_limit(struct Scsi_Host *); |
650 | 653 | ||
651 | static inline void scsi_assign_lock(struct Scsi_Host *shost, spinlock_t *lock) | ||
652 | { | ||
653 | shost->host_lock = lock; | ||
654 | } | ||
655 | |||
656 | static inline struct device *scsi_get_device(struct Scsi_Host *shost) | 654 | static inline struct device *scsi_get_device(struct Scsi_Host *shost) |
657 | { | 655 | { |
658 | return shost->shost_gendev.parent; | 656 | return shost->shost_gendev.parent; |