[rtems commit] bsps/mcf548x: Fix warnings

Sebastian Huber sebh at rtems.org
Thu Oct 9 05:42:09 UTC 2014


Module:    rtems
Branch:    master
Commit:    16ed8f7bdfc2b983d9a0adcffd679101e078faba
Changeset: http://git.rtems.org/rtems/commit/?id=16ed8f7bdfc2b983d9a0adcffd679101e078faba

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Oct  9 07:28:09 2014 +0200

bsps/mcf548x: Fix warnings

---

 c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c b/c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c
index 78477ad..d3d6115 100644
--- a/c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c
+++ b/c/src/lib/libcpu/m68k/mcf548x/mcdma/mcdma_glue.c
@@ -21,6 +21,7 @@
 #include <bsp.h>
 #include <mcf548x/mcf548x.h>
 #include <mcf548x/MCD_dma.h>
+#include <mcf548x/mcdma_glue.h>
 
 #define MCDMA_INT_ENABLE(reg,chan)   (reg &= ~(1 << (chan)))
 #define MCDMA_INT_DISABLE(reg,chan)  (reg |=  (1 << (chan)))
@@ -130,7 +131,7 @@ void mcdma_glue_irq_install
 /*=========================================================================*\
 | Function:                                                                 |
 \*-------------------------------------------------------------------------*/
-rtems_isr mcdma_glue_irq_dispatcher
+static rtems_isr mcdma_glue_irq_dispatcher
 (
 /*-------------------------------------------------------------------------*\
 | Purpose:                                                                  |




More information about the vc mailing list