[PATCH 3/4] pcmcia: pd6729: Add the macro "pr_fmt"
From: SF Markus Elfring
Date: Mon May 15 2017 - 08:29:31 EST
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxxx>
---
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