From 2422a9912086d0156567d86c82e0adf797188713 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Mon, 23 Apr 2018 14:46:07 +0900 Subject: [PATCH] samsung: misc: fix wrong #ifdef and #endif bracket for CONFIG_LCD There is wrong #ifdef and #endif bracket and it causes unused variables and unused function build warning. Fix the wrong bracket for CONFIG_LCD. Note: When rebasing, this patch should be squashed fixed commit. Change-Id: I4d9b695fd77ead6ab541ba37db7516eb16ea371c Fixes: 4a6f3341d549 ("samsung: misc: new feature: common interactive charger") Signed-off-by: Seung-Woo Kim --- board/samsung/common/misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index f818675..16a8b0f 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -361,9 +361,11 @@ int check_keys(void) return keys; } +#endif /* CONFIG_LCD */ #endif /* CONFIG_LCD_MENU || CONFIG_INTERACTIVE_CHARGER */ #ifdef CONFIG_LCD_MENU +#ifdef CONFIG_LCD /* * 0 BOOT_MODE_INFO * 1 BOOT_MODE_THOR -- 2.7.4