From 4e68d97d9d2de092e9434f1d80999d749f73e1d3 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Tue, 25 Jan 2005 22:42:11 +0000 Subject: ifdef inside a macro doesn't work with older gcc. Signed-off-by: Andrew Morton --- linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'linux') 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 /* 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); -- cgit v1.2.3