summaryrefslogtreecommitdiff
path: root/cmd/cls.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-18 07:46:31 -0600
committerAnatolij Gustschin <agust@denx.de>2022-10-30 20:07:17 +0100
commitb86986c7b314f1378ca5be8df49310a6ce7302f8 (patch)
tree11f72c50e524ae5b37e934e9a5d0558c00c6ee97 /cmd/cls.c
parent9330abfb4a00512213d34147b78d2041fd467c6e (diff)
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO
Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/cls.c')
-rw-r--r--cmd/cls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cls.c b/cmd/cls.c
index ba36220d9e1..18643ec0243 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 (CONFIG_IS_ENABLED(DM_VIDEO) && !CONFIG_IS_ENABLED(VIDEO_ANSI)) {
+ if (CONFIG_IS_ENABLED(VIDEO) && !CONFIG_IS_ENABLED(VIDEO_ANSI)) {
if (uclass_first_device_err(UCLASS_VIDEO, &dev))
return CMD_RET_FAILURE;
if (video_clear(dev))