summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-stub.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-06-15 23:20:54 +0200
committerWolfram Sang <wsa@the-dreams.de>2017-06-15 23:22:11 +0200
commitd44005672d83f89d7d797efc490a751a696e7d91 (patch)
tree8310bfe61eaa92cd7b9759817e1a90884047b6bc /drivers/i2c/i2c-stub.c
parenti2c: mxs: change error printing to debug for mxs_i2c_pio_wait_xfer_end (diff)
downloadlinux-d44005672d83f89d7d797efc490a751a696e7d91.tar.xz
linux-d44005672d83f89d7d797efc490a751a696e7d91.zip
i2c: stub: fix build warning regression
Commit 6c42778780c40c ("i2c: stub: use pr_fmt") changed the DEBUG handling and caused build warnings. Revert back to the original. Fixes: 6c42778780c40c ("i2c: stub: use pr_fmt") Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-stub.c')
-rw-r--r--drivers/i2c/i2c-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-stub.c b/drivers/i2c/i2c-stub.c
index 8b0900147f96..4a9ad91c5ba3 100644
--- a/drivers/i2c/i2c-stub.c
+++ b/drivers/i2c/i2c-stub.c
@@ -15,7 +15,7 @@
GNU General Public License for more details.
*/
-#define DEBUG
+#define DEBUG 1
#define pr_fmt(fmt) "i2c-stub: " fmt
#include <linux/errno.h>