1 #include <scsi/scsi_tgt.h>
2
3 #ifdef CONFIG_SCSI_SRP_TGT_ATTRS
srp_tgt_it_nexus_create(struct Scsi_Host * shost,u64 itn_id,char * initiator)4 static inline int srp_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
5 char *initiator)
6 {
7 return scsi_tgt_it_nexus_create(shost, itn_id, initiator);
8 }
9
srp_tgt_it_nexus_destroy(struct Scsi_Host * shost,u64 itn_id)10 static inline int srp_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
11 {
12 return scsi_tgt_it_nexus_destroy(shost, itn_id);
13 }
14
15 #else
srp_tgt_it_nexus_create(struct Scsi_Host * shost,u64 itn_id,char * initiator)16 static inline int srp_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
17 char *initiator)
18 {
19 return 0;
20 }
srp_tgt_it_nexus_destroy(struct Scsi_Host * shost,u64 itn_id)21 static inline int srp_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
22 {
23 return 0;
24 }
25 #endif
26