summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/raspberrypi/misc/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/raspberrypi/misc/timer.c')
-rw-r--r--c/src/lib/libbsp/arm/raspberrypi/misc/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/arm/raspberrypi/misc/timer.c b/c/src/lib/libbsp/arm/raspberrypi/misc/timer.c
index 7e83e4096d..e90af08290 100644
--- a/c/src/lib/libbsp/arm/raspberrypi/misc/timer.c
+++ b/c/src/lib/libbsp/arm/raspberrypi/misc/timer.c
@@ -17,7 +17,7 @@
*/
#include <rtems.h>
-#include <rtems/timerdrv.h>
+#include <rtems/btimer.h>
#include <bsp/raspberrypi.h>
static bool benchmark_timer_find_average_overhead = false;
@@ -29,7 +29,7 @@ void benchmark_timer_initialize(void)
benchmark_timer_base = BCM2835_REG(BCM2835_GPU_TIMER_CLO);
}
-uint32_t benchmark_timer_read(void)
+benchmark_timer_t benchmark_timer_read(void)
{
uint32_t delta = BCM2835_REG(BCM2835_GPU_TIMER_CLO) - benchmark_timer_base;