forked from Minki/linux
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>
This commit is contained in:
parent
9e40210272
commit
73b52572ab
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user