From 597c60a72d3c139d95d7f040fd68cfa1ebfa71da Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 6 Mar 2014 08:28:49 -0600 Subject: [PATCH] configs/skp16c26/ostest: Configuration converted to use the kconfig-frontends tools --- arch/sh/src/common/up_internal.h | 2 +- arch/sh/src/m16c/m16c_lowputc.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/sh/src/common/up_internal.h b/arch/sh/src/common/up_internal.h index cba4715bdd..9734ec51a7 100644 --- a/arch/sh/src/common/up_internal.h +++ b/arch/sh/src/common/up_internal.h @@ -230,7 +230,7 @@ extern void board_led_off(int led); /* Defined in board/up_lcd.c */ -#ifdef CONFIG_ARCH_LCD +#ifdef CONFIG_LCD_CONSOLE extern void up_lcdinit(void); extern void up_lcdputc(char ch); #else diff --git a/arch/sh/src/m16c/m16c_lowputc.c b/arch/sh/src/m16c/m16c_lowputc.c index 8d55d361f0..b88bc0baa6 100644 --- a/arch/sh/src/m16c/m16c_lowputc.c +++ b/arch/sh/src/m16c/m16c_lowputc.c @@ -333,11 +333,9 @@ void up_lowsetup(void) up_lowserialsetup() #endif - /* The LCD is initialized here to because it may be that the LCD is - * used for console output. - */ + /* The LCD is initialized here if the LCD is used for console output. */ -#ifdef CONFIG_ARCH_LCD +#ifdef CONFIG_LCD_CONSOLE up_lcdinit(); #endif }