]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/dvb/siano/smscoreapi.h
V4L/DVB (8297): sms1xxx: remove old printk macros
[linux-2.6-omap-h63xx.git] / drivers / media / dvb / siano / smscoreapi.h
index a21f01f71ba4de36c2fac1a5a6a54e039a9c7408..b84606b30fd8d327607819b14f0752c45012dc34 100644 (file)
@@ -429,7 +429,11 @@ extern int sms_debug;
                sms_printk(kern, fmt, ##arg); } while (0)
 
 #define sms_err(fmt, arg...) \
-       sms_printk(KERN_ERR, "%s " fmt "\n", __func__, ##arg)
+       sms_printk(KERN_ERR, "%s() line: %d: " fmt "\n", \
+               __func__, __LINE__, ##arg)
+#define sms_warn(fmt, arg...) \
+       sms_printk(KERN_WARNING, "%s() line: %d: " fmt "\n", \
+               __func__, __LINE__, ##arg)
 #define sms_info(fmt, arg...) \
        dprintk(KERN_INFO, DBG_INFO, fmt, ##arg)
 #define sms_debug(fmt, arg...) \