|
@@ -16,6 +16,7 @@
|
|
|
#include <scsi/scsi_host.h>
|
|
|
#include <scsi/scsi_tcq.h>
|
|
|
#include <scsi/scsi_transport.h>
|
|
|
+#include <scsi/scsi_driver.h>
|
|
|
|
|
|
#include "scsi_priv.h"
|
|
|
#include "scsi_logging.h"
|
|
@@ -803,7 +804,7 @@ void scsi_remove_device(struct scsi_device *sdev)
|
|
|
}
|
|
|
EXPORT_SYMBOL(scsi_remove_device);
|
|
|
|
|
|
-void __scsi_remove_target(struct scsi_target *starget)
|
|
|
+static void __scsi_remove_target(struct scsi_target *starget)
|
|
|
{
|
|
|
struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
|
|
|
unsigned long flags;
|