aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/cs_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r--drivers/pcmcia/cs_internal.h6
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 */