staging: xgifb: pr_fmt kbuild macro
authorSam Hansen <solid.se7en@gmail.com>
Sun, 22 Jan 2012 08:48:25 +0000 (00:48 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:23:09 +0000 (09:23 -0800)
Added the kbuild macro pr_fmt() to XGI_main_26.c

Signed-off-by: Sam Hansen <solid.se7en@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c

index ff7a144044c8644147a890a464bab38e042adced..bbbbfd1469574bacbe8989ccf29bcd4bfbef7af8 100644 (file)
@@ -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>