summaryrefslogtreecommitdiffstats
path: root/bsps/arm/lpc32xx/include/tm27.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/lpc32xx/include/tm27.h')
-rw-r--r--bsps/arm/lpc32xx/include/tm27.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/arm/lpc32xx/include/tm27.h b/bsps/arm/lpc32xx/include/tm27.h
index 3708909bb7..17b2b01fb0 100644
--- a/bsps/arm/lpc32xx/include/tm27.h
+++ b/bsps/arm/lpc32xx/include/tm27.h
@@ -51,7 +51,7 @@
#define LPC32XX_TM27_IRQ LPC32XX_IRQ_TIMER_2
-static inline void Install_tm27_vector(void (*handler)(rtems_vector_number))
+static inline void Install_tm27_vector( rtems_interrupt_handler handler )
{
static rtems_interrupt_entry entry;
volatile lpc_timer *timer = LPC32XX_TM27_TIMER;
@@ -70,7 +70,7 @@ static inline void Install_tm27_vector(void (*handler)(rtems_vector_number))
rtems_interrupt_entry_initialize(
&entry,
- (rtems_interrupt_handler) handler,
+ handler,
NULL,
"tm27"
);