[rtems commit] bsps: Avoid rtems_irq_hdl_param type usage

Sebastian Huber sebh at rtems.org
Fri Apr 20 13:24:19 UTC 2012


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Apr 20 15:23:44 2012 +0200

bsps: Avoid rtems_irq_hdl_param type usage

Not every clock interrupt service routine is installed with this API.
Remove also the prototype to allow drivers to make this routine static.

---

 c/src/lib/libbsp/shared/clockdrv_shell.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.h b/c/src/lib/libbsp/shared/clockdrv_shell.h
index 35b5f8d..2afd3b2 100644
--- a/c/src/lib/libbsp/shared/clockdrv_shell.h
+++ b/c/src/lib/libbsp/shared/clockdrv_shell.h
@@ -57,8 +57,7 @@ void Clock_exit( void );
  *  Return values:      NONE
  */
 #ifdef BSP_FEATURE_IRQ_EXTENSION
-void Clock_isr(rtems_irq_hdl_param arg);
-void Clock_isr(rtems_irq_hdl_param arg)
+void Clock_isr(void *arg)
 {
 #else 
 rtems_isr Clock_isr(rtems_vector_number vector);




More information about the vc mailing list