diff options
author | Joe Perches <joe@perches.com> | 2011-03-29 15:21:43 -0700 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-05-27 12:35:49 -0400 |
commit | 9ab23989d3e774f4545c83eeab0137e35f7115be (patch) | |
tree | 8ae93dd1502b6c4170e8bbe7b5ffc962e1f1aad1 /drivers | |
parent | 323623a717c7feec3f36099f4caa18b3319c5cca (diff) |
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')
-rw-r--r-- | drivers/platform/x86/ideapad-laptop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 21b101899ba..bfdda33feb2 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> |