summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-03-27 18:37:48 -0500
committerJoel Sherrill <joel@rtems.org>2016-03-27 18:39:56 -0500
commit7fc05b363fce93876ba3423eb3f105e9fb88f6ec (patch)
tree41ecae17a884f7ef49cdb748b791e3fe793a43cb
parent23d7cba2ef098ab27b464b68d94af30c4194719c (diff)
downloadrtems-7fc05b363fce93876ba3423eb3f105e9fb88f6ec.tar.bz2
libbsp/sparc64/shared/clock/ckinit.c: Add include of <rtems/clockdrv.h>
-rw-r--r--c/src/lib/libbsp/sparc64/shared/clock/ckinit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc64/shared/clock/ckinit.c b/c/src/lib/libbsp/sparc64/shared/clock/ckinit.c
index ff0464c8f2..39011661fe 100644
--- a/c/src/lib/libbsp/sparc64/shared/clock/ckinit.c
+++ b/c/src/lib/libbsp/sparc64/shared/clock/ckinit.c
@@ -43,7 +43,10 @@ static unsigned int get_Frequency(void)
return freq;
}
-static void Clock_driver_support_at_tick(void)
+#define Clock_driver_support_at_tick() \
+ Clock_driver_support_at_tick_helper()
+
+static void Clock_driver_support_at_tick_helper(void)
{
uint64_t tick_reg;
int bit_mask;