diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index 189489fc8..37d471539 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -257,7 +257,7 @@ static struct scst_tgt_template tgt2x_template = { .add_target_parameters = "node_name, parent_host", .tgtt_attrs = q2tt_attrs, #endif -#else +#elif !defined(CONFIG_SCST_PROC) .tgtt_attrs = q2tt_attrs, #endif #if defined(CONFIG_SCST_DEBUG) || defined(CONFIG_SCST_TRACING)