]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
i2c: stub: fix build warning regression
authorWolfram Sang <wsa@the-dreams.de>
Thu, 15 Jun 2017 21:20:54 +0000 (23:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 15 Jun 2017 21:22:11 +0000 (23:22 +0200)
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>
drivers/i2c/i2c-stub.c

index 8b0900147f96f19bb538e972cfa63ad837b07c1b..4a9ad91c5ba3eaf2d2e396d69e6076c0cdc1ec17 100644 (file)
@@ -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>