diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-02 12:08:38 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-22 19:49:49 -0400 |
commit | 2e55bf6b99fb05f3f4228e7f1381624ac8ac7e3d (patch) | |
tree | d8dd974020a9b076d9fec0032b9f398bcca83254 /drivers/pcmcia/cs_internal.h | |
parent | dd797d81d3d7da31a50031f2741b93327ed22260 (diff) |
pcmcia: use dev_printk in module pcmcia_core
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r-- | drivers/pcmcia/cs_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h index 63dc1a28bda2..fe7d729cf28b 100644 --- a/drivers/pcmcia/cs_internal.h +++ b/drivers/pcmcia/cs_internal.h | |||
@@ -137,8 +137,8 @@ extern int cs_debug_level(int); | |||
137 | 137 | ||
138 | #define cs_dbg(skt, lvl, fmt, arg...) do { \ | 138 | #define cs_dbg(skt, lvl, fmt, arg...) do { \ |
139 | if (cs_debug_level(lvl)) \ | 139 | if (cs_debug_level(lvl)) \ |
140 | printk(KERN_DEBUG "cs: %s: " fmt, \ | 140 | dev_printk(KERN_DEBUG, &skt->dev, \ |
141 | cs_socket_name(skt) , ## arg); \ | 141 | "cs: " fmt, ## arg); \ |
142 | } while (0) | 142 | } while (0) |
143 | 143 | ||
144 | #else | 144 | #else |
@@ -146,6 +146,6 @@ extern int cs_debug_level(int); | |||
146 | #endif | 146 | #endif |
147 | 147 | ||
148 | #define cs_err(skt, fmt, arg...) \ | 148 | #define cs_err(skt, fmt, arg...) \ |
149 | printk(KERN_ERR "cs: %s: " fmt, (skt)->dev.bus_id , ## arg) | 149 | dev_printk(KERN_ERR, &skt->dev, "cs: " fmt, ## arg) |
150 | 150 | ||
151 | #endif /* _LINUX_CS_INTERNAL_H */ | 151 | #endif /* _LINUX_CS_INTERNAL_H */ |