Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux-2.6/verdex.git] / drivers / scsi / scsi_transport_srp_internal.h
blob8a79747f9f3df846f3a7e20289c4231f4fb52f0a
1 #include <scsi/scsi_tgt.h>
3 #ifdef CONFIG_SCSI_SRP_TGT_ATTRS
4 static inline int srp_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
5 char *initiator)
7 return scsi_tgt_it_nexus_create(shost, itn_id, initiator);
10 static inline int srp_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
12 return scsi_tgt_it_nexus_destroy(shost, itn_id);
15 #else
16 static inline int srp_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
17 char *initiator)
19 return 0;
21 static inline int srp_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
23 return 0;
25 #endif