From: Jaehoon Chung Date: Wed, 16 Dec 2020 04:33:24 +0000 (+0900) Subject: lib: tizen: fix build error with tizen_defconfig X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=502e3e9d934b29c7504f1cb1222a754a57bfe7a7;p=platform%2Fkernel%2Fu-boot.git lib: tizen: fix build error with tizen_defconfig Fix build error with tizen_defconfig. tizen_defconfig doesn't support DM_VIDEO. Change-Id: Ie86a45e97c8d8c4c70e13dfaba70f23b0bdccd93 Signed-off-by: Jaehoon Chung --- diff --git a/lib/tizen/tizen.c b/lib/tizen/tizen.c index 9331d7d..468ad77 100644 --- a/lib/tizen/tizen.c +++ b/lib/tizen/tizen.c @@ -9,11 +9,13 @@ #include #include #include +#ifdef CONFIG_DM_VIDEO #include #include #include #include #include +#endif #include "tizen_logo_16bpp.h" #include "tizen_logo_16bpp_gzip.h" @@ -183,6 +185,7 @@ void draw_thor_progress(unsigned long long int total_file_size, } #endif +#ifdef CONFIG_DM_VIDEO /* XRGB */ #define PROGRESS_BAR_COLOR 0x0000B3F1 #define PROGRESS_FRAME_COLOR 0x00F8FBF9 @@ -278,3 +281,4 @@ void thor_status_notify(enum thor_notify_type type, struct thor_notify_data *nd) break; } } +#endif