|
@@ -293,6 +293,11 @@ extern int scsi_execute_async(struct scsi_device *sdev,
|
|
|
void (*done)(void *, char *, int, int),
|
|
|
gfp_t gfp);
|
|
|
|
|
|
+static inline void scsi_device_reprobe(struct scsi_device *sdev)
|
|
|
+{
|
|
|
+ device_reprobe(&sdev->sdev_gendev);
|
|
|
+}
|
|
|
+
|
|
|
static inline unsigned int sdev_channel(struct scsi_device *sdev)
|
|
|
{
|
|
|
return sdev->channel;
|