diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-11-15 10:00:23 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-11-15 10:38:51 +0100 |
commit | 7a448cc544694c8db09638541d5adb0acc81c786 (patch) | |
tree | c8ca28176fdeb11e467058cef6502ba3d1b4ac17 /Makefile | |
parent | c0d1dd7c079df6e382822cd6e1fb52ff1a5bf280 (diff) | |
download | barebox-7a448cc544694c8db09638541d5adb0acc81c786.tar.gz barebox-7a448cc544694c8db09638541d5adb0acc81c786.tar.xz |
efi: efi-iomem: fix erroneous use of IS_ENABLED()
IS_ENABLED() is supposed to be used for CONFIG_ macros, which a
local #define DEBUG isn't. Fix by using __is_defined instead.
The reason, we have this as a compile time switch is that the memory
map can be very extensive (> 100 entries) and is usually only
interesting during development.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20211115090023.4192546-3-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions