diff options
author | Mario Limonciello | 2017-09-26 13:50:02 -0500 |
---|---|---|
committer | Darren Hart (VMware) | 2017-09-27 14:57:43 -0700 |
commit | 7b4dd21630afa835a907cd030fd4e2af6849c6a9 (patch) | |
tree | eb975a86fab58602fe088dc8d9abac239d6baad9 | |
parent | 9808f3628ce43fafbb6f8eb8d347f38ba9b275ba (diff) |
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>
-rw-r--r-- | drivers/platform/x86/dell-smbios.c | 1 |
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> |