FUJITA Tomonori | 7525236 | 2007-09-01 02:02:27 +0900 | [diff] [blame] | 1 | #include <scsi/scsi_tgt.h> |
| 2 | |
| 3 | #ifdef CONFIG_SCSI_FC_TGT_ATTRS |
| 4 | static inline int fc_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 | |
| 10 | static inline int fc_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id) |
| 11 | { |
| 12 | return scsi_tgt_it_nexus_destroy(shost, itn_id); |
| 13 | } |
| 14 | #else |
| 15 | static inline int fc_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id, |
| 16 | char *initiator) |
| 17 | { |
| 18 | return 0; |
| 19 | } |
| 20 | |
| 21 | static inline int fc_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id) |
| 22 | { |
| 23 | return 0; |
| 24 | } |
| 25 | |
| 26 | #endif |