aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/rts_pstor/debug.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2011-04-12 21:05:33 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-25 17:08:31 -0700
commit1035117d2a47583f9539c28bf6ce5f677946e172 (patch)
tree30b19022303b4797d01612b232050067d5418316 /drivers/staging/rts_pstor/debug.h
parentc6cdaded146875e2e47e946f6592c1775eaee849 (diff)
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/debug.h')
-rw-r--r--drivers/staging/rts_pstor/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts_pstor/debug.h b/drivers/staging/rts_pstor/debug.h
index e1408b0e7ae..ab305be96fb 100644
--- a/drivers/staging/rts_pstor/debug.h
+++ b/drivers/staging/rts_pstor/debug.h
@@ -28,7 +28,7 @@
#define RTSX_STOR "rts_pstor: "
-#if CONFIG_RTS_PSTOR_DEBUG
+#ifdef CONFIG_RTS_PSTOR_DEBUG
#define RTSX_DEBUGP(x...) printk(KERN_DEBUG RTSX_STOR x)
#define RTSX_DEBUGPN(x...) printk(KERN_DEBUG x)
#define RTSX_DEBUGPX(x...) printk(x)