Browse Source

ideapad-laptop: Add pr_fmt

Add pr_fmt to prefix logging messages.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Joe Perches 14 years ago
parent
commit
9ab23989d3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/platform/x86/ideapad-laptop.c

+ 2 - 0
drivers/platform/x86/ideapad-laptop.c

@@ -20,6 +20,8 @@
  *  02110-1301, USA.
  */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/init.h>