aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_device.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2015-05-08 04:07:48 -0400
committerJames Bottomley <JBottomley@Odin.com>2015-06-01 10:32:43 -0400
commit07e3842055c391e611dd907c81760f4c705f9acb (patch)
tree56005ced37b31c082fa984981a8073a241ff3839 /include/scsi/scsi_device.h
parentc5f1ac8b94bd10f97f5aa1a3279ad8e8bbc6311a (diff)
Move code that is used both by initiator and target drivers
Move the functions that are used by both the initiator and target subsystems into scsi_common.c/.h. This change will allow to remove the initiator SCSI header include directives from most SCSI target source files in a later patch. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'include/scsi/scsi_device.h')
-rw-r--r--include/scsi/scsi_device.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h
index a4c9336811d1..ae84b2214d40 100644
--- a/include/scsi/scsi_device.h
+++ b/include/scsi/scsi_device.h
@@ -413,8 +413,6 @@ extern void scsi_target_reap(struct scsi_target *);
413extern void scsi_target_block(struct device *); 413extern void scsi_target_block(struct device *);
414extern void scsi_target_unblock(struct device *, enum scsi_device_state); 414extern void scsi_target_unblock(struct device *, enum scsi_device_state);
415extern void scsi_remove_target(struct device *); 415extern void scsi_remove_target(struct device *);
416extern void int_to_scsilun(u64, struct scsi_lun *);
417extern u64 scsilun_to_int(struct scsi_lun *);
418extern const char *scsi_device_state_name(enum scsi_device_state); 416extern const char *scsi_device_state_name(enum scsi_device_state);
419extern int scsi_is_sdev_device(const struct device *); 417extern int scsi_is_sdev_device(const struct device *);
420extern int scsi_is_target_device(const struct device *); 418extern int scsi_is_target_device(const struct device *);