From: Joe Perches Date: Tue, 29 Mar 2011 22:21:43 +0000 (-0700) Subject: ideapad-laptop: Add pr_fmt X-Git-Tag: v3.0-rc1~4^2^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab23989d3e774f4545c83eeab0137e35f7115be;p=thirdparty%2Fkernel%2Flinux.git ideapad-laptop: Add pr_fmt Add pr_fmt to prefix logging messages. Signed-off-by: Joe Perches Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 21b101899baee..bfdda33feb265 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 #include #include