diff --git a/arch/arm/src/sama5/sam_lcd.c b/arch/arm/src/sama5/sam_lcd.c index c2c004d3aa..166239cc54 100644 --- a/arch/arm/src/sama5/sam_lcd.c +++ b/arch/arm/src/sama5/sam_lcd.c @@ -2814,7 +2814,6 @@ int up_fbinitialize(void) #if defined(CONFIG_SAMA5_LCDC_OVR1) && defined(CONFIG_SAMA5_LCDC_HEO) uint32_t regval; #endif - int ret; gvdbg("Entry\n"); diff --git a/arch/arm/src/sama5/sam_lcd.h b/arch/arm/src/sama5/sam_lcd.h index bc30a70e5f..58e49fd2a8 100644 --- a/arch/arm/src/sama5/sam_lcd.h +++ b/arch/arm/src/sama5/sam_lcd.h @@ -46,7 +46,7 @@ #include -#include "chip/sam_lcd.h" +#include "chip/sam_lcdc.h" #ifdef CONFIG_SAMA5_LCDC