On 04/09/15 05:21, Alexey Klimov wrote:
It's a bit uncler what subsystem/driver emits some messages
to dmesg in function mtk_init_timer().
Use pr_fmt to auto-prefix the messages appropriately.

Signed-off-by: Alexey Klimov <[email protected]>

Acked-by: Matthias Brugger <[email protected]>

---
  drivers/clocksource/mtk_timer.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/drivers/clocksource/mtk_timer.c b/drivers/clocksource/mtk_timer.c
index 50f0641..ca5ea9e 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>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to