summaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-03-31 13:21:25 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-03-31 13:21:25 -0600
commit0d085198e9bafae34dcb77d1e75305785f1e5d08 (patch)
tree335f2ab4a732bac3b6b61ea9394e93241d3183eb /nuttx/arch
parent6fcc161c79d4e24444997e35e5a37d7aff6049b9 (diff)
downloadpx4-nuttx-0d085198e9bafae34dcb77d1e75305785f1e5d08.tar.gz
px4-nuttx-0d085198e9bafae34dcb77d1e75305785f1e5d08.tar.bz2
px4-nuttx-0d085198e9bafae34dcb77d1e75305785f1e5d08.zip
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.
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/sim/src/up_touchscreen.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/nuttx/arch/sim/src/up_touchscreen.c b/nuttx/arch/sim/src/up_touchscreen.c
index 9ee99cbe9..a7f6d68fb 100644
--- a/nuttx/arch/sim/src/up_touchscreen.c
+++ b/nuttx/arch/sim/src/up_touchscreen.c
@@ -52,6 +52,7 @@
#include <assert.h>
#include <debug.h>
+#include <nuttx/board.h>
#include <nuttx/kmalloc.h>
#include <nuttx/arch.h>
#include <nuttx/fs/fs.h>
@@ -625,7 +626,7 @@ errout:
****************************************************************************/
/****************************************************************************
- * Name: arch_tcinitialize
+ * Name: board_tsc_setup
*
* Description:
* Configure the simulated touchscreen. This will register the driver as
@@ -640,7 +641,7 @@ errout:
*
****************************************************************************/
-int arch_tcinitialize(int minor)
+int board_tsc_setup(int minor)
{
FAR struct up_dev_s *priv = ( FAR struct up_dev_s *)&g_simtouchscreen;
char devname[DEV_NAMELEN];
@@ -687,7 +688,7 @@ errout_with_priv:
}
/****************************************************************************
- * Name: arch_tcuninitialize
+ * Name: board_tsc_teardown
*
* Description:
* Uninitialized the simulated touchscreen
@@ -700,7 +701,7 @@ errout_with_priv:
*
****************************************************************************/
-void arch_tcuninitialize(void)
+void board_tsc_teardown(void)
{
FAR struct up_dev_s *priv = ( FAR struct up_dev_s *)&g_simtouchscreen;
char devname[DEV_NAMELEN];