diff options
author | Luis R. Rodriguez <mcgrof@kernel.org> | 2017-07-20 13:13:40 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-10 13:58:41 -0700 |
commit | 73da4b4b77661ba3a9a50e5fbb412c9766149911 (patch) | |
tree | a354e98fe7507493dfa03105bec915d216c61763 /drivers/base | |
parent | 76098b36b5db1a509e5af94128b08f950692c7f8 (diff) | |
download | linux-73da4b4b77661ba3a9a50e5fbb412c9766149911.tar.bz2 |
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.c | 2 |
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> |