From f53d181d4006d2682da595950f120f8d665e31e7 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 19 Jun 2012 06:23:21 +0000 Subject: [PATCH] ib_srpt: Fix procfs build git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4362 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 2015ae220..ad5ea0788 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2346,7 +2346,6 @@ static void __srpt_close_all_ch(struct srpt_tgt *srpt_tgt) } } -#if !defined(CONFIG_SCST_PROC) static struct srpt_tgt* srpt_convert_scst_tgt(struct scst_tgt *scst_tgt) { struct srpt_device *sdev; @@ -2365,6 +2364,7 @@ static struct srpt_tgt* srpt_convert_scst_tgt(struct scst_tgt *scst_tgt) return srpt_tgt; } +#if !defined(CONFIG_SCST_PROC) /** * srpt_enable_target - Set the "enabled" status of a target. */