summaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou/src/stm32_touchscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/shenzhou/src/stm32_touchscreen.c')
-rw-r--r--nuttx/configs/shenzhou/src/stm32_touchscreen.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/nuttx/configs/shenzhou/src/stm32_touchscreen.c b/nuttx/configs/shenzhou/src/stm32_touchscreen.c
index 5128733ef..e2c6ba0d0 100644
--- a/nuttx/configs/shenzhou/src/stm32_touchscreen.c
+++ b/nuttx/configs/shenzhou/src/stm32_touchscreen.c
@@ -45,6 +45,7 @@
#include <assert.h>
#include <errno.h>
+#include <nuttx/board.h>
#include <nuttx/irq.h>
#include <nuttx/spi/spi.h>
#include <nuttx/input/touchscreen.h>
@@ -228,7 +229,7 @@ static bool tsc_pendown(FAR struct ads7843e_config_s *state)
****************************************************************************/
/****************************************************************************
- * Name: arch_tcinitialize
+ * Name: board_tsc_setup
*
* Description:
* Each board that supports a touchscreen device must provide this function.
@@ -245,7 +246,7 @@ static bool tsc_pendown(FAR struct ads7843e_config_s *state)
*
****************************************************************************/
-int arch_tcinitialize(int minor)
+int board_tsc_setup(int minor)
{
FAR struct spi_dev_s *dev;
int ret;
@@ -280,7 +281,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.
@@ -295,7 +296,7 @@ int arch_tcinitialize(int minor)
*
****************************************************************************/
-void arch_tcuninitialize(void)
+void board_tsc_teardown(void)
{
/* No support for un-initializing the touchscreen ADS7843E device yet */
}