summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2005-01-25 22:42:11 +0000
committerPatrick Boettcher <devnull@localhost>2005-01-25 22:42:11 +0000
commit4e68d97d9d2de092e9434f1d80999d749f73e1d3 (patch)
treef7d5a0587194d48779138709bd09b90c62b01467 /linux/drivers/media
parentcdafb4a70f7448bcb62c56967c070a0453024de0 (diff)
downloadmediapointer-dvb-s2-4e68d97d9d2de092e9434f1d80999d749f73e1d3.tar.gz
mediapointer-dvb-s2-4e68d97d9d2de092e9434f1d80999d749f73e1d3.tar.bz2
ifdef inside a macro doesn't work with older gcc.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c
index 0fdad7963..400332249 100644
--- a/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c
+++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c
@@ -27,13 +27,15 @@
#include <linux/moduleparam.h>
/* debug */
+#ifdef CONFIG_DVB_DIBCOM_DEBUG
+#define DEBSTATUS ""
+#else
+#define DEBSTATUS " (debugging is not enabled)"
+#endif
int dvb_dibusb_debug;
module_param_named(debug, dvb_dibusb_debug, int, 0644);
-MODULE_PARM_DESC(debug, "set debugging level (1=info,2=xfer,4=alotmore,8=ts,16=err,32=rc (|-able))."
-#ifndef CONFIG_DVB_DIBCOM_DEBUG
- " (debugging is not enabled)"
-#endif
-);
+MODULE_PARM_DESC(debug, "set debugging level (1=info,2=xfer,4=alotmore,8=ts,16=err,32=rc (|-able))." DEBSTATUS);
+#undef DEBSTATUS
static int pid_parse;
module_param(pid_parse, int, 0644);