diff options
Diffstat (limited to 'nuttx/configs/stm3210e-eval/src/stm32_lcd.c')
-rw-r--r-- | nuttx/configs/stm3210e-eval/src/stm32_lcd.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/stm32_lcd.c b/nuttx/configs/stm3210e-eval/src/stm32_lcd.c index 4168f39a7..5bc221338 100644 --- a/nuttx/configs/stm3210e-eval/src/stm32_lcd.c +++ b/nuttx/configs/stm3210e-eval/src/stm32_lcd.c @@ -67,6 +67,7 @@ #include <debug.h> #include <nuttx/arch.h> +#include <nuttx/board.h> #include <nuttx/spi/spi.h> #include <nuttx/lcd/lcd.h> @@ -1766,7 +1767,7 @@ static void stm3210e_backlight(void) **************************************************************************************/ /************************************************************************************** - * Name: up_lcdinitialize + * Name: board_lcd_initialize * * Description: * Initialize the LCD video hardware. The initial state of the LCD is fully @@ -1775,7 +1776,7 @@ static void stm3210e_backlight(void) * **************************************************************************************/ -int up_lcdinitialize(void) +int board_lcd_initialize(void) { #ifdef CONFIG_PM int ret; @@ -1813,7 +1814,7 @@ int up_lcdinitialize(void) } /************************************************************************************** - * Name: up_lcdgetdev + * Name: board_lcd_getdev * * Description: * Return a a reference to the LCD object for the specified LCD. This allows support @@ -1821,21 +1822,21 @@ int up_lcdinitialize(void) * **************************************************************************************/ -FAR struct lcd_dev_s *up_lcdgetdev(int lcddev) +FAR struct lcd_dev_s *board_lcd_getdev(int lcddev) { DEBUGASSERT(lcddev == 0); return &g_lcddev.dev; } /************************************************************************************** - * Name: up_lcduninitialize + * Name: board_lcd_uninitialize * * Description: * Unitialize the LCD support * **************************************************************************************/ -void up_lcduninitialize(void) +void board_lcd_uninitialize(void) { stm3210e_poweroff(); stm32_deselectlcd(); |