summaryrefslogtreecommitdiff
path: root/drivers/staging/rts_pstor/trace.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2011-04-13 01:05:33 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-26 00:08:31 (GMT)
commit1035117d2a47583f9539c28bf6ce5f677946e172 (patch)
tree30b19022303b4797d01612b232050067d5418316 /drivers/staging/rts_pstor/trace.h
parentc6cdaded146875e2e47e946f6592c1775eaee849 (diff)
downloadlinux-fsl-qoriq-1035117d2a47583f9539c28bf6ce5f677946e172.tar.xz
staging: rts_pstor: use #ifdef instead of #if
This patch fixes a number of the following warnings: warning: "CONFIG_RTS_PSTOR_DEBUG" is not defined The code uses '#if CONFIG_RTS_PSTOR_DEBUG' when it should be using '#ifdef' Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rts_pstor/trace.h')
-rw-r--r--drivers/staging/rts_pstor/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts_pstor/trace.h b/drivers/staging/rts_pstor/trace.h
index 2c668ba..bc83b49 100644
--- a/drivers/staging/rts_pstor/trace.h
+++ b/drivers/staging/rts_pstor/trace.h
@@ -82,7 +82,7 @@ do { \
#define TRACE_GOTO(chip, label) goto label
#endif
-#if CONFIG_RTS_PSTOR_DEBUG
+#ifdef CONFIG_RTS_PSTOR_DEBUG
static inline void rtsx_dump(u8 *buf, int buf_len)
{
int i;