Skip to contentSkip to conversation

xgifb: pr_fmt kbuild macro

PATCH New Sam Hansen 1 participant 1 message Jan 22, 2012 Staging

lore
Share & tools
lore

Sam Hansen

author
#0 lore raw

PATCH 1/1 xgifb: pr_fmt kbuild macro

Added the kbuild macro pr_fmt() to XGI_main_26.c

---
 drivers/staging/xgifb/XGI_main_26.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/staging/xgifb/XGI_main_26.c +2 -0
index 2502c49..edd7de7 100644
@@ -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>
Signature · 1 line
1.7.5.4