summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/loopback.c
diff options
context:
space:
mode:
authorJohan Hovold2016-02-11 13:52:49 +0100
committerGreg Kroah-Hartman2016-02-12 06:44:17 +0100
commit8923c5b59ffd18b8a31b18dd02332fdfe801f7c9 (patch)
tree9c7e5e4f564b4cc2710d1033861e5f8d676073cd /drivers/staging/greybus/loopback.c
parentgreybus: i2c: add bundle-device prefix to error messages (diff)
downloadkernel-qcow2-linux-8923c5b59ffd18b8a31b18dd02332fdfe801f7c9.tar.gz
kernel-qcow2-linux-8923c5b59ffd18b8a31b18dd02332fdfe801f7c9.tar.xz
kernel-qcow2-linux-8923c5b59ffd18b8a31b18dd02332fdfe801f7c9.zip
greybus: loopback: add missing pr_fmt
Add missing pr_fmt so we can at least tell what module the sole remaining pr_err was from. Testing Done: Tested on DB3.5 with the generic bridge firmware on APB2. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/loopback.c')
-rw-r--r--drivers/staging/greybus/loopback.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c
index c35d22733a36..3f32dee1ec93 100644
--- a/drivers/staging/greybus/loopback.c
+++ b/drivers/staging/greybus/loopback.c
@@ -6,6 +6,9 @@
*
* Released under the GPLv2 only.
*/
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mutex.h>