diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-03-31 13:21:25 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-03-31 13:21:25 -0600 |
commit | 0d085198e9bafae34dcb77d1e75305785f1e5d08 (patch) | |
tree | 335f2ab4a732bac3b6b61ea9394e93241d3183eb /nuttx/configs/sama5d3x-ek/src | |
parent | 6fcc161c79d4e24444997e35e5a37d7aff6049b9 (diff) | |
download | px4-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/configs/sama5d3x-ek/src')
-rw-r--r-- | nuttx/configs/sama5d3x-ek/src/sam_touchscreen.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/configs/sama5d3x-ek/src/sam_touchscreen.c b/nuttx/configs/sama5d3x-ek/src/sam_touchscreen.c index 51345ab66..3ab2572b2 100644 --- a/nuttx/configs/sama5d3x-ek/src/sam_touchscreen.c +++ b/nuttx/configs/sama5d3x-ek/src/sam_touchscreen.c @@ -47,6 +47,8 @@ #include "sam_tsd.h" #include "sama5d3x-ek.h" +#include <nuttx/board.h> + #ifdef CONFIG_SAMA5_TSD /**************************************************************************** @@ -83,7 +85,7 @@ ****************************************************************************/ /**************************************************************************** - * Name: arch_tcinitialize + * Name: board_tsc_setup * * Description: * Each board that supports a touchscreen device must provide this @@ -100,7 +102,7 @@ * ****************************************************************************/ -int arch_tcinitialize(int minor) +int board_tsc_setup(int minor) { struct sam_adc_s *adc; static bool initialized = false; @@ -141,7 +143,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. @@ -156,7 +158,7 @@ int arch_tcinitialize(int minor) * ****************************************************************************/ -void arch_tcuninitialize(void) +void board_tsc_teardown(void) { /* No support for un-initializing the touchscreen yet */ } |