[PATCH 3/4] pcmcia: pd6729: Add the macro "pr_fmt"

SF Markus Elfring elfring at users.sourceforge.net
Mon May 15 05:29:01 PDT 2017


From: Markus Elfring <elfring at users.sourceforge.net>
Date: Mon, 15 May 2017 13:15:33 +0200

Add a definition for the macro "pr_fmt" so that its information can be used
for consistent message output.

Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>
---
 drivers/pcmcia/pd6729.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c
index a723ffbbd691..b3422119820a 100644
--- a/drivers/pcmcia/pd6729.c
+++ b/drivers/pcmcia/pd6729.c
@@ -7,6 +7,8 @@
  * the GNU General Public License, incorporated herein by reference.
  */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/slab.h>
-- 
2.13.0




More information about the linux-pcmcia mailing list