summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/siano/smscoreapi.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-19 16:35:21 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-06-19 16:35:21 -0400
commitbcf9ebb39574d120560c3d9149a618e0e5b282d9 (patch)
treee8ba7853639cfabfb5125679184dd849b0fb5b05 /linux/drivers/media/dvb/siano/smscoreapi.h
parentee252d56b4825939020961a58b4a2a52e6222608 (diff)
downloadmediapointer-dvb-s2-bcf9ebb39574d120560c3d9149a618e0e5b282d9.tar.gz
mediapointer-dvb-s2-bcf9ebb39574d120560c3d9149a618e0e5b282d9.tar.bz2
sms1xxx: move message formatting into printk macros
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/siano/smscoreapi.h')
-rw-r--r--linux/drivers/media/dvb/siano/smscoreapi.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.h b/linux/drivers/media/dvb/siano/smscoreapi.h
index d49ea224e..b9d216ebf 100644
--- a/linux/drivers/media/dvb/siano/smscoreapi.h
+++ b/linux/drivers/media/dvb/siano/smscoreapi.h
@@ -579,9 +579,12 @@ void smsdvb_unregister(void);
int smsusb_register(void);
void smsusb_unregister(void);
-#define sms_err(fmt, arg...) printk(KERN_ERR fmt, ##arg)
-#define sms_info(fmt, arg...) printk(KERN_INFO fmt, ##arg)
-#define sms_debug(fmt, arg...) printk(KERN_DEBUG fmt, ##arg)
+#define sms_err(fmt, arg...) \
+ printk(KERN_ERR "%s " fmt "\n", __func__, ##arg)
+#define sms_info(fmt, arg...) \
+ printk(KERN_INFO "%s " fmt "\n", __func__, ##arg)
+#define sms_debug(fmt, arg...) \
+ printk(KERN_DEBUG "%s " fmt "\n", __func__, ##arg)
#endif /* __smscoreapi_h__ */