diff options
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r-- | drivers/pcmcia/cs_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h index 384a76bd38eb..3fcdf4fbca0e 100644 --- a/drivers/pcmcia/cs_internal.h +++ b/drivers/pcmcia/cs_internal.h | |||
@@ -137,9 +137,15 @@ extern int cs_debug_level(int); | |||
137 | dev_printk(KERN_DEBUG, &skt->dev, \ | 137 | dev_printk(KERN_DEBUG, &skt->dev, \ |
138 | "cs: " fmt, ## arg); \ | 138 | "cs: " fmt, ## arg); \ |
139 | } while (0) | 139 | } while (0) |
140 | #define __cs_dbg(lvl, fmt, arg...) do { \ | ||
141 | if (cs_debug_level(lvl)) \ | ||
142 | printk(KERN_DEBUG \ | ||
143 | "cs: " fmt, ## arg); \ | ||
144 | } while (0) | ||
140 | 145 | ||
141 | #else | 146 | #else |
142 | #define cs_dbg(skt, lvl, fmt, arg...) do { } while (0) | 147 | #define cs_dbg(skt, lvl, fmt, arg...) do { } while (0) |
148 | #define __cs_dbg(lvl, fmt, arg...) do { } while (0) | ||
143 | #endif | 149 | #endif |
144 | 150 | ||
145 | #define cs_err(skt, fmt, arg...) \ | 151 | #define cs_err(skt, fmt, arg...) \ |