summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@kernel.org>2017-07-20 13:13:40 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-10 13:58:41 -0700
commit73da4b4b77661ba3a9a50e5fbb412c9766149911 (patch)
treea354e98fe7507493dfa03105bec915d216c61763 /drivers/base
parent76098b36b5db1a509e5af94128b08f950692c7f8 (diff)
downloadlinux-stable-73da4b4b77661ba3a9a50e5fbb412c9766149911.tar.gz
linux-stable-73da4b4b77661ba3a9a50e5fbb412c9766149911.tar.bz2
linux-stable-73da4b4b77661ba3a9a50e5fbb412c9766149911.zip
firmware: define pr_fmt
For some reason we have always forgotten this. Without this we don't get a nice prefix on our pr_debug() / pr_*() messages. Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/firmware_class.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c
index ac7e32fac8fc..ceab749b1790 100644
--- a/drivers/base/firmware_class.c
+++ b/drivers/base/firmware_class.c
@@ -7,6 +7,8 @@
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/capability.h>
#include <linux/device.h>
#include <linux/module.h>