Commit d61c5427 authored by Finn Thain's avatar Finn Thain Committed by Christoph Hellwig

ncr5380: Use printk() not pr_debug()

Having defined NDEBUG, and having set the console log level, I'd like to see
some output. Don't use pr_debug(), it's annoying to have to define DEBUG as
well.
Signed-off-by: default avatarFinn Thain <fthain@telegraphics.com.au>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Tested-by: default avatarMichael Schmitz <schmitzmic@gmail.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 41df7b02
...@@ -296,7 +296,8 @@ struct NCR5380_hostdata { ...@@ -296,7 +296,8 @@ struct NCR5380_hostdata {
#endif #endif
#define dprintk(flg, fmt, ...) \ #define dprintk(flg, fmt, ...) \
do { if ((NDEBUG) & (flg)) pr_debug(fmt, ## __VA_ARGS__); } while (0) do { if ((NDEBUG) & (flg)) \
printk(KERN_DEBUG fmt, ## __VA_ARGS__); } while (0)
#if NDEBUG #if NDEBUG
#define NCR5380_dprint(flg, arg) \ #define NCR5380_dprint(flg, arg) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment