[rtems commit] armv7m shared: Clock driver clean up and ISR Handler Prototype Correction.

Joel Sherrill joel at rtems.org
Thu Apr 19 18:20:35 UTC 2012


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu Apr 19 13:15:03 2012 -0500

armv7m shared: Clock driver clean up and ISR Handler Prototype Correction.

---

 .../arm/shared/armv7m/clock/armv7m-clock-config.c  |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c b/c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c
index b27d5a6..1afa7b0 100644
--- a/c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c
+++ b/c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c
@@ -16,11 +16,12 @@
 #include <rtems/score/armv7m.h>
 
 #include <bsp.h>
+#include <bsp/irq.h>
 
 #ifdef ARM_MULTILIB_ARCH_V7M
 
 /* This is defined in clockdrv_shell.h */
-static rtems_isr Clock_isr(void *arg);
+void Clock_isr(rtems_irq_hdl_param arg);
 
 #define _ARMV7M_Systick_get_factor(freq) \
   ((1000000000ULL << 32) / (freq))




More information about the vc mailing list