[rtems commit] m68k/uC5282/include/bsp.h: Do not include <rtems/clockdrv.h >

Joel Sherrill joel at rtems.org
Mon Mar 28 18:43:35 UTC 2016


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Fri Mar 25 10:46:31 2016 -0500

m68k/uC5282/include/bsp.h: Do not include <rtems/clockdrv.h>

---

 c/src/lib/libbsp/m68k/uC5282/clock/clock.c | 2 +-
 c/src/lib/libbsp/m68k/uC5282/include/bsp.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/m68k/uC5282/clock/clock.c b/c/src/lib/libbsp/m68k/uC5282/clock/clock.c
index 1489d7e..f27c650 100644
--- a/c/src/lib/libbsp/m68k/uC5282/clock/clock.c
+++ b/c/src/lib/libbsp/m68k/uC5282/clock/clock.c
@@ -144,7 +144,7 @@ static void uC5282_tc_tick(void)
 /*
  * Provide our own version of the idle task
  */
-Thread bsp_idle_thread(uint32_t ignored)
+void * bsp_idle_thread(uint32_t ignored)
 {
   /* Atomic increment */
   for(;;)
diff --git a/c/src/lib/libbsp/m68k/uC5282/include/bsp.h b/c/src/lib/libbsp/m68k/uC5282/include/bsp.h
index 0503811..10bd14f 100644
--- a/c/src/lib/libbsp/m68k/uC5282/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/uC5282/include/bsp.h
@@ -20,7 +20,6 @@
 #include <rtems.h>
 #include <rtems/iosupp.h>
 #include <rtems/console.h>
-#include <rtems/clockdrv.h>
 #include <rtems/iosupp.h>
 #include <rtems/bspIo.h>
 




More information about the vc mailing list