summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAlexey Klimov <alexey.klimov@linaro.org>2015-10-25 23:21:22 +0000
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:41:00 +0100
commit9a78ec45bd6ac7650a995a9de0912fd75d6b6886 (patch)
treefe083aadb73dc312ef6f249953acc51a2c6173f3 /drivers/clocksource
parent82bbe34b3d895fb026b2fc0e7da2e641797bfaed (diff)
downloadblackbird-op-linux-9a78ec45bd6ac7650a995a9de0912fd75d6b6886.tar.gz
blackbird-op-linux-9a78ec45bd6ac7650a995a9de0912fd75d6b6886.zip
clocksource/drivers/mtk_timer: Add pr_fmt define
It's a bit unclear what subsystem/driver emits some messages to dmesg in the function mtk_init_timer(). Use pr_fmt to auto-prefix the messages appropriately. Acked-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/mtk_timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clocksource/mtk_timer.c b/drivers/clocksource/mtk_timer.c
index fbfc74685e6a..8f99cd73fced 100644
--- a/drivers/clocksource/mtk_timer.c
+++ b/drivers/clocksource/mtk_timer.c
@@ -16,6 +16,8 @@
* GNU General Public License for more details.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/interrupt.h>
OpenPOWER on IntegriCloud