]> git.sur5r.net Git - u-boot/commit
mtdparts: Correct use of debug()
authorSimon Glass <sjg@chromium.org>
Mon, 4 Dec 2017 20:48:21 +0000 (13:48 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 7 Dec 2017 20:17:00 +0000 (15:17 -0500)
commit95b41b80d77b8418dac3393784b2a9cbb7abef64
treed652ee6938ca786c6ccc4ad3a8587556eb6b3f57
parent0e98b0a65092d6573eb17d07e04455f9cf545b21
mtdparts: Correct use of debug()

The debug() macro now evaluates its expression so does not need #ifdef
protection. In fact the current code causes a warning with the new log
implementation. Adjust the code to fix this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/mtdparts.c