From 879d04bf53c3cb35002c36fbaeb536a62f87ceab Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 12 Jan 2022 17:45:29 +0100 Subject: soc/mediatek: Include 'console/console.h' when appropriate Found using: diff <(git grep -l '#include ' -- src/) <(git grep -l 'console_time_report\|console_time_get_and_reset\|do_putchar\|vprintk\|printk\|console_log_level\|console_init\|get_log_level\|CONSOLE_ENABLE\|get_console_loglevel\|die_notify\|die_with_post_code\|die\|arch_post_code\|mainboard_post\|post_code\|RAM_SPEW\|RAM_DEBUG\|BIOS_EMERG\|BIOS_ALERT\|BIOS_CRIT\|BIOS_ERR\|BIOS_WARNING\|BIOS_NOTICE\|BIOS_INFO\|BIOS_DEBUG\|BIOS_SPEW\|BIOS_NEVER' -- src/) Change-Id: I93f930de5a2a477ec4c0d8e5c8c57b25f5e4252c Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/61043 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin Reviewed-by: Xixi Chen --- src/soc/mediatek/common/include/soc/msdc.h | 1 + src/soc/mediatek/common/msdc.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/soc/mediatek/common') diff --git a/src/soc/mediatek/common/include/soc/msdc.h b/src/soc/mediatek/common/include/soc/msdc.h index 798b0f61fe..0f8ba7ad46 100644 --- a/src/soc/mediatek/common/include/soc/msdc.h +++ b/src/soc/mediatek/common/include/soc/msdc.h @@ -4,6 +4,7 @@ #define SOC_MEDIATEK_COMMON_MSDC_H #include +#include /*------------------------------*/ /* Register Offset */ diff --git a/src/soc/mediatek/common/msdc.c b/src/soc/mediatek/common/msdc.c index a5a8a6bbd9..8208886c20 100644 --- a/src/soc/mediatek/common/msdc.c +++ b/src/soc/mediatek/common/msdc.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3