summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8192/i2c.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-12 17:45:29 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-03-27 15:32:51 +0000
commit879d04bf53c3cb35002c36fbaeb536a62f87ceab (patch)
tree7c6e7fbf47e8faf8696987a38c3d5039379d7123 /src/soc/mediatek/mt8192/i2c.c
parent8078e900d16a7f2665c7dc02f04915c711156798 (diff)
downloadcoreboot-879d04bf53c3cb35002c36fbaeb536a62f87ceab.tar.gz
coreboot-879d04bf53c3cb35002c36fbaeb536a62f87ceab.tar.bz2
coreboot-879d04bf53c3cb35002c36fbaeb536a62f87ceab.zip
soc/mediatek: Include 'console/console.h' when appropriate
Found using: diff <(git grep -l '#include <console/console.h>' -- 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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61043 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Xixi Chen <xixi.chen@mediatek.corp-partner.google.com>
Diffstat (limited to 'src/soc/mediatek/mt8192/i2c.c')
-rw-r--r--src/soc/mediatek/mt8192/i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8192/i2c.c b/src/soc/mediatek/mt8192/i2c.c
index 5f1e3a03f356..6d888334ef94 100644
--- a/src/soc/mediatek/mt8192/i2c.c
+++ b/src/soc/mediatek/mt8192/i2c.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h>
+#include <console/console.h>
#include <device/mmio.h>
#include <soc/i2c.h>
#include <soc/gpio.h>