From 0d085198e9bafae34dcb77d1e75305785f1e5d08 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 31 Mar 2015 13:21:25 -0600 Subject: rch_tcinitialize() and arch_tcunitinitialize() renamed to board_tsc_setup() and board_tsc_teardown(). These are not long called directly by applications but only indirectly throught the crappy boardctl() OS interface. --- nuttx/configs/stm3220g-eval/src/stm32_stmpe811.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'nuttx/configs/stm3220g-eval/src') diff --git a/nuttx/configs/stm3220g-eval/src/stm32_stmpe811.c b/nuttx/configs/stm3220g-eval/src/stm32_stmpe811.c index a9e788608..30f2ea3de 100644 --- a/nuttx/configs/stm3220g-eval/src/stm32_stmpe811.c +++ b/nuttx/configs/stm3220g-eval/src/stm32_stmpe811.c @@ -44,6 +44,7 @@ #include #include +#include #include #include #include @@ -255,7 +256,7 @@ static void stmpe811_clear(FAR struct stmpe811_config_s *state) ****************************************************************************/ /**************************************************************************** - * Name: arch_tcinitialize + * Name: board_tsc_setup * * Description: * Each board that supports a touchscreen device must provide this function. @@ -272,7 +273,7 @@ static void stmpe811_clear(FAR struct stmpe811_config_s *state) * ****************************************************************************/ -int arch_tcinitialize(int minor) +int board_tsc_setup(int minor) { #ifndef CONFIG_STMPE811_TSC_DISABLE FAR struct i2c_dev_s *dev; @@ -328,7 +329,7 @@ int arch_tcinitialize(int minor) } /**************************************************************************** - * Name: arch_tcuninitialize + * Name: board_tsc_teardown * * Description: * Each board that supports a touchscreen device must provide this function. @@ -343,7 +344,7 @@ int arch_tcinitialize(int minor) * ****************************************************************************/ -void arch_tcuninitialize(void) +void board_tsc_teardown(void) { /* No support for un-initializing the touchscreen STMPE811 device yet */ } -- cgit v1.2.3