summaryrefslogtreecommitdiffstats
path: root/bsps/bfin/shared/dev/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/bfin/shared/dev/clock.c')
-rw-r--r--bsps/bfin/shared/dev/clock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bsps/bfin/shared/dev/clock.c b/bsps/bfin/shared/dev/clock.c
index 3463858b39..75cd139e52 100644
--- a/bsps/bfin/shared/dev/clock.c
+++ b/bsps/bfin/shared/dev/clock.c
@@ -29,8 +29,6 @@
volatile uint32_t Clock_driver_ticks;
-void Clock_exit(void);
-
static rtems_isr clockISR(rtems_vector_number vector) {
Clock_driver_ticks += 1;
@@ -50,7 +48,7 @@ static rtems_isr clockISR(rtems_vector_number vector) {
* This routine allows the clock driver to exit by masking the interrupt and
* disabling the clock's counter.
*/
-void Clock_exit(void)
+static void Clock_exit(void)
{
*(uint32_t volatile *) TCNTL = 0;
}