Commit d4400567 authored by Wolfram Sang's avatar Wolfram Sang

i2c: stub: fix build warning regression

Commit 6c427787 ("i2c: stub: use pr_fmt") changed the DEBUG
handling and caused build warnings. Revert back to the original.

Fixes: 6c427787 ("i2c: stub: use pr_fmt")
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent f9831bfe
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
GNU General Public License for more details. GNU General Public License for more details.
*/ */
#define DEBUG #define DEBUG 1
#define pr_fmt(fmt) "i2c-stub: " fmt #define pr_fmt(fmt) "i2c-stub: " fmt
#include <linux/errno.h> #include <linux/errno.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment