]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Avoid using #ifdef in vidconsole-uclass.c
authorSimon Glass <sjg@chromium.org>
Sat, 21 Dec 2019 01:10:36 +0000 (18:10 -0700)
committerAnatolij Gustschin <agust@denx.de>
Thu, 2 Jan 2020 15:25:25 +0000 (16:25 +0100)
commit775d33229ffdc94be9a74d73ef6fabe6ea0e7a6f
treec7b2db6704d8e12aebb98b2cce2cac359d84474f
parentc6567319019df0e92db4a00d0dd35c3a8e9c2f7f
video: Avoid using #ifdef in vidconsole-uclass.c

This code does not really need to use #ifdef. We can use if() instead and
gain build coverage without impacting code size.

Change the #ifdefs to use CONFIG_IS_ENABLED() instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/vidconsole-uclass.c