Compiles again with tracing disabled.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@990 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2009-07-30 06:38:15 +00:00
parent 3e18defd73
commit 3bf7d6dca1

View File

@@ -2318,6 +2318,7 @@ static void srpt_release_class_dev(struct device *dev)
{
}
#if defined(CONFIG_SCST_DEBUG) || defined(CONFIG_SCST_TRACING)
static const struct { int flag; const char *const label; }
srpt_trace_label[] =
{
@@ -2463,6 +2464,7 @@ static ssize_t srpt_store_trace_flags(struct class *class,
count = -EINVAL;
return count;
}
#endif
static struct class_attribute srpt_class_attrs[] = {
#if defined(CONFIG_SCST_DEBUG) || defined(CONFIG_SCST_TRACING)