diff options
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 1ec17ee12815..f2193cd0d31f 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h | |||
@@ -293,6 +293,11 @@ extern int scsi_execute_async(struct scsi_device *sdev, | |||
293 | void (*done)(void *, char *, int, int), | 293 | void (*done)(void *, char *, int, int), |
294 | gfp_t gfp); | 294 | gfp_t gfp); |
295 | 295 | ||
296 | static inline void scsi_device_reprobe(struct scsi_device *sdev) | ||
297 | { | ||
298 | device_reprobe(&sdev->sdev_gendev); | ||
299 | } | ||
300 | |||
296 | static inline unsigned int sdev_channel(struct scsi_device *sdev) | 301 | static inline unsigned int sdev_channel(struct scsi_device *sdev) |
297 | { | 302 | { |
298 | return sdev->channel; | 303 | return sdev->channel; |