summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorMario Limonciello2017-09-26 20:50:02 +0200
committerDarren Hart (VMware)2017-09-27 23:57:43 +0200
commit7b4dd21630afa835a907cd030fd4e2af6849c6a9 (patch)
treeeb975a86fab58602fe088dc8d9abac239d6baad9 /drivers/platform
parentplatform/x86: dell-wmi: Do not match on descriptor GUID modalias (diff)
downloadkernel-qcow2-linux-7b4dd21630afa835a907cd030fd4e2af6849c6a9.tar.gz
kernel-qcow2-linux-7b4dd21630afa835a907cd030fd4e2af6849c6a9.tar.xz
kernel-qcow2-linux-7b4dd21630afa835a907cd030fd4e2af6849c6a9.zip
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/dell-smbios.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/dell-smbios.c b/drivers/platform/x86/dell-smbios.c
index 0a5723468bff..e9b1ca07c872 100644
--- a/drivers/platform/x86/dell-smbios.c
+++ b/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>