summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/zkit-arm-1769/src/lpc17_adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/zkit-arm-1769/src/lpc17_adc.c')
-rw-r--r--nuttx/configs/zkit-arm-1769/src/lpc17_adc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/configs/zkit-arm-1769/src/lpc17_adc.c b/nuttx/configs/zkit-arm-1769/src/lpc17_adc.c
index 932f8214cc..2ba54b4b72 100644
--- a/nuttx/configs/zkit-arm-1769/src/lpc17_adc.c
+++ b/nuttx/configs/zkit-arm-1769/src/lpc17_adc.c
@@ -47,6 +47,7 @@
#include <errno.h>
#include <debug.h>
+#include <nuttx/board.h>
#include <nuttx/analog/adc.h>
#include <arch/board/board.h>
@@ -75,7 +76,7 @@
************************************************************************************/
/************************************************************************************
- * Name: adc_devinit
+ * Name: board_adc_setup
*
* Description:
* All LPC17 architectures must provide the following interface to work with
@@ -83,7 +84,7 @@
*
************************************************************************************/
-int adc_devinit(void)
+int board_adc_setup(void)
{
static bool initialized = false;
struct adc_dev_s *adc;