aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-03-29 15:21:43 -0700
committerMatthew Garrett <mjg@redhat.com>2011-05-27 12:35:49 -0400
commit9ab23989d3e774f4545c83eeab0137e35f7115be (patch)
tree8ae93dd1502b6c4170e8bbe7b5ffc962e1f1aad1 /drivers/platform
parent323623a717c7feec3f36099f4caa18b3319c5cca (diff)
downloadkernel_samsung_smdk4412-9ab23989d3e774f4545c83eeab0137e35f7115be.zip
kernel_samsung_smdk4412-9ab23989d3e774f4545c83eeab0137e35f7115be.tar.gz
kernel_samsung_smdk4412-9ab23989d3e774f4545c83eeab0137e35f7115be.tar.bz2
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/ideapad-laptop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index 21b1018..bfdda33 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/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>