summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c')
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c b/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
index 8c54976de4..0c3bf0d38b 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
@@ -99,6 +99,7 @@
#include <bsp.h>
#include <rtems/bspIo.h>
+#include <bsp/fatal.h>
#include <bsp/irq.h>
#include <rtems.h>
@@ -338,7 +339,7 @@ rtems_device_driver slt_initialize
{
printk("Unable to connect PSC Irq handler\n");
- mpc5200_fatal(MPC5200_FATAL_SLICETIMER_0_IRQ_INSTALL);
+ bsp_fatal(MPC5200_FATAL_SLICETIMER_0_IRQ_INSTALL);
}
@@ -353,7 +354,7 @@ rtems_device_driver slt_initialize
{
printk("Unable to connect PSC Irq handler\n");
- mpc5200_fatal(MPC5200_FATAL_SLICETIMER_1_IRQ_INSTALL);
+ bsp_fatal(MPC5200_FATAL_SLICETIMER_1_IRQ_INSTALL);
}