summaryrefslogtreecommitdiff
path: root/nuttx/configs/ea3152/src/up_buttons.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/ea3152/src/up_buttons.c')
-rw-r--r--nuttx/configs/ea3152/src/up_buttons.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/nuttx/configs/ea3152/src/up_buttons.c b/nuttx/configs/ea3152/src/up_buttons.c
index d56bfd766..3a9dcf544 100644
--- a/nuttx/configs/ea3152/src/up_buttons.c
+++ b/nuttx/configs/ea3152/src/up_buttons.c
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/ea3152/src/up_leds.c
*
- * Copyright (C) 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -41,7 +41,9 @@
#include <stdint.h>
+#include <nuttx/arch.h>
#include <arch/board/board.h>
+
#include "ea3152_internal.h"
#ifdef CONFIG_ARCH_BUTTONS
@@ -63,10 +65,10 @@
****************************************************************************/
/****************************************************************************
- * Name: up_buttoninit
+ * Name: board_button_initialize
****************************************************************************/
-void up_buttoninit(void)
+void board_button_initialize(void)
{
}