i2c: stub: fix build warning regression

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

Fixes: 6c42778780 ("i2c: stub: use pr_fmt")
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Wolfram Sang 2017-06-15 23:20:54 +02:00
parent f9831bfec7
commit d44005672d

View 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>