]> git.baikalelectronics.ru Git - uboot.git/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)
commit1d8d7796ba26b258fa5c1ffe21c772302d0920ec
treed652ee6938ca786c6ccc4ad3a8587556eb6b3f57
parentb31872494402af01b9b3e5e009df70d384ac9450
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