summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/tda18271-priv.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-05 07:21:18 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-05 15:26:28 -0300
commit36dba13bda9e33ed22b8c8bcff5283a2d54578da (patch)
treef5e3b7c24e08b450d5b25b063b4507fc03faf764 /drivers/media/tuners/tda18271-priv.h
parent5049d31bc34d64b255b0470cace7d0221f0d6b0f (diff)
[media] tda18271: use prefix on all printk messages
Some messages have a hardcoded prefix; others not. Use the pr_fmt() to ensure that all messages will use the same prefix. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/tuners/tda18271-priv.h')
-rw-r--r--drivers/media/tuners/tda18271-priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/tuners/tda18271-priv.h b/drivers/media/tuners/tda18271-priv.h
index cc80f544af34..0bcc735a0427 100644
--- a/drivers/media/tuners/tda18271-priv.h
+++ b/drivers/media/tuners/tda18271-priv.h
@@ -21,6 +21,8 @@
#ifndef __TDA18271_PRIV_H__
#define __TDA18271_PRIV_H__
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mutex.h>