summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-08-22 11:57:57 -0500
committerJoel Sherrill <joel@rtems.org>2018-08-29 12:52:09 -0500
commit126a4544cc042f29555570abb5164e33345b3f8c (patch)
treec3ae95f6d5a2d1600837668e0778aad22f2bd651 /bsps
parentmpc55xxevb/clock/clock-config.c: Remove unused mpc55xx_clock_cleanup() method (diff)
downloadrtems-126a4544cc042f29555570abb5164e33345b3f8c.tar.bz2
gen5200/include/tm27.h: Fix warnings
Diffstat (limited to 'bsps')
-rw-r--r--bsps/powerpc/gen5200/include/tm27.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/bsps/powerpc/gen5200/include/tm27.h b/bsps/powerpc/gen5200/include/tm27.h
index 583aaa42bd..bd3dbb2d85 100644
--- a/bsps/powerpc/gen5200/include/tm27.h
+++ b/bsps/powerpc/gen5200/include/tm27.h
@@ -26,19 +26,20 @@
#define MUST_WAIT_FOR_INTERRUPT 1
-void nullFunc(void) {}
+static void nullFunc(void) {}
static rtems_irq_connect_data clockIrqData = {BSP_DECREMENTER,
0,
(rtems_irq_enable) nullFunc,
(rtems_irq_disable) nullFunc,
(rtems_irq_is_enabled) nullFunc};
-static void Install_tm27_vector(void (*_handler)(void))
+
+RTEMS_INLINE_ROUTINE void Install_tm27_vector(void (*_handler)(void))
{
clockIrqData.hdl = _handler;
if (!BSP_install_rtems_irq_handler (&clockIrqData)) {
- printk("Error installing clock interrupt handler!\n");
- bsp_fatal(MPC5200_FATAL_TM27_IRQ_INSTALL);
+ printk("Error installing clock interrupt handler!\n");
+ bsp_fatal(MPC5200_FATAL_TM27_IRQ_INSTALL);
}
}