Browse Source

platform/x86: dell-smbios: Add pr_fmt definition to driver

pr_fmt provides formatting to be used by the driver when
displaying errors and messages.

Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Reviewed-by: Pali Pohar <pali.rohar@gmail.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Mario Limonciello 7 years ago
parent
commit
7b4dd21630
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/platform/x86/dell-smbios.c

+ 1 - 0
drivers/platform/x86/dell-smbios.c

@@ -12,6 +12,7 @@
  *  it under the terms of the GNU General Public License version 2 as
  *  published by the Free Software Foundation.
  */
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/kernel.h>
 #include <linux/module.h>