From a172ea546992c3f6f6a99b4dbaabbdae4c959707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 17 Feb 2014 11:36:29 +0200 Subject: uart: Do not guard entire include file by config options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not guard the file by CONFIG_CONSOLE_SERIAL8250 or CONFIG_CONSOLE_SERIAL8250MEM or CONFIG_CONSOLE_SERIAL. Don't do indirect includes for . The config-specific options are already properly guarded, and there is no need to guard the register and bit definitions. Change-Id: I7528b18cdc62bc5c22486f037e14002838a2176e Signed-off-by: Alexandru Gagniuc Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/4585 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/lib/uart8250mem.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/uart8250mem.c') diff --git a/src/lib/uart8250mem.c b/src/lib/uart8250mem.c index 1482142da0..040e732df3 100644 --- a/src/lib/uart8250mem.c +++ b/src/lib/uart8250mem.c @@ -19,6 +19,7 @@ */ #include +#include #include #include #if CONFIG_USE_OPTION_TABLE -- cgit v1.2.3