diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-02 18:08:38 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-23 01:49:49 +0200 |
commit | 2e55bf6b99fb05f3f4228e7f1381624ac8ac7e3d (patch) | |
tree | d8dd974020a9b076d9fec0032b9f398bcca83254 /drivers/pcmcia/cs_internal.h | |
parent | dd797d81d3d7da31a50031f2741b93327ed22260 (diff) | |
download | talos-obmc-linux-2e55bf6b99fb05f3f4228e7f1381624ac8ac7e3d.tar.gz talos-obmc-linux-2e55bf6b99fb05f3f4228e7f1381624ac8ac7e3d.zip |
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); #define cs_dbg(skt, lvl, fmt, arg...) do { \ if (cs_debug_level(lvl)) \ - printk(KERN_DEBUG "cs: %s: " fmt, \ - cs_socket_name(skt) , ## arg); \ + dev_printk(KERN_DEBUG, &skt->dev, \ + "cs: " fmt, ## arg); \ } while (0) #else @@ -146,6 +146,6 @@ extern int cs_debug_level(int); #endif #define cs_err(skt, fmt, arg...) \ - printk(KERN_ERR "cs: %s: " fmt, (skt)->dev.bus_id , ## arg) + dev_printk(KERN_ERR, &skt->dev, "cs: " fmt, ## arg) #endif /* _LINUX_CS_INTERNAL_H */ |