summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 15:44:28 -0700
committerTom Rini <trini@konsulko.com>2023-02-10 07:41:40 -0500
commit2fe2ac139f67d1f130445e31d67b0b9477a86fa6 (patch)
treed4f9731015e71df568b0e9c90e2d056c86e8db7e /cmd
parent1f69cbe1f129136ae1a38b0a68660bfce72df629 (diff)
Correct SPL use of VIDEO_ANSI
This converts 1 usage of this option to the non-SPL form, since there is no SPL_VIDEO_ANSI defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cls.c b/cmd/cls.c
index 787c7edbee..40a32eeab6 100644
--- a/cmd/cls.c
+++ b/cmd/cls.c
@@ -19,7 +19,7 @@ static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc,
/* Send clear screen and home */
printf(CSI "2J" CSI "1;1H");
- if (IS_ENABLED(CONFIG_VIDEO) && !CONFIG_IS_ENABLED(VIDEO_ANSI)) {
+ if (IS_ENABLED(CONFIG_VIDEO) && !IS_ENABLED(CONFIG_VIDEO_ANSI)) {
if (uclass_first_device_err(UCLASS_VIDEO, &dev))
return CMD_RET_FAILURE;
if (video_clear(dev))