Browse Source

Char: isicom, use pr_debug

isicom, use pr_debug

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Jiri Slaby 18 years ago
parent
commit
73b52572ab
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/char/isicom.c

+ 1 - 2
drivers/char/isicom.c

@@ -137,11 +137,10 @@
 #define InterruptTheCard(base) outw(0, (base) + 0xc)
 #define InterruptTheCard(base) outw(0, (base) + 0xc)
 #define ClearInterrupt(base) inw((base) + 0x0a)
 #define ClearInterrupt(base) inw((base) + 0x0a)
 
 
+#define pr_dbg(str...) pr_debug("ISICOM: " str)
 #ifdef DEBUG
 #ifdef DEBUG
-#define pr_dbg(str...) printk(KERN_DEBUG "ISICOM: " str)
 #define isicom_paranoia_check(a, b, c) __isicom_paranoia_check((a), (b), (c))
 #define isicom_paranoia_check(a, b, c) __isicom_paranoia_check((a), (b), (c))
 #else
 #else
-#define pr_dbg(str...) do { } while (0)
 #define isicom_paranoia_check(a, b, c) 0
 #define isicom_paranoia_check(a, b, c) 0
 #endif
 #endif