* [PATCH] xgifb: pr_fmt kbuild macro
@ 2012-01-22 8:48 Sam Hansen
0 siblings, 0 replies; only message in thread
From: Sam Hansen @ 2012-01-22 8:48 UTC (permalink / raw)
To: Arnaud Patard, Greg Kroah-Hartman, Aaro Koskinen, Dan Carpenter
Cc: devel, linux-kernel, Sam Hansen
Added the kbuild macro pr_fmt() to XGI_main_26.c
Signed-off-by: Sam Hansen <solid.se7en@gmail.com>
---
drivers/staging/xgifb/XGI_main_26.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c
index 2502c49..edd7de7 100644
--- a/drivers/staging/xgifb/XGI_main_26.c
+++ b/drivers/staging/xgifb/XGI_main_26.c
@@ -4,6 +4,8 @@
* Base on TW's sis fbdev code.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
/* #include <linux/config.h> */
#include <linux/module.h>
#include <linux/moduleparam.h>
--
1.7.5.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-22 8:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-22 8:48 [PATCH] xgifb: pr_fmt kbuild macro Sam Hansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®