mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 14:26:42 +07:00
27 lines
584 B
C
27 lines
584 B
C
|
#include <scsi/scsi_tgt.h>
|
||
|
|
||
|
#ifdef CONFIG_SCSI_FC_TGT_ATTRS
|
||
|
static inline int fc_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
|
||
|
char *initiator)
|
||
|
{
|
||
|
return scsi_tgt_it_nexus_create(shost, itn_id, initiator);
|
||
|
}
|
||
|
|
||
|
static inline int fc_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
|
||
|
{
|
||
|
return scsi_tgt_it_nexus_destroy(shost, itn_id);
|
||
|
}
|
||
|
#else
|
||
|
static inline int fc_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
|
||
|
char *initiator)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
static inline int fc_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
#endif
|