summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-20 15:23:44 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-20 15:23:44 +0200
commit37f938d7083d43891261abf8a5b6f13ee6f80c1b (patch)
tree93583a1f2eda00b70175b838d60c66b153d61057
parentscore: Fix comment (diff)
downloadrtems-37f938d7083d43891261abf8a5b6f13ee6f80c1b.tar.bz2
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.
-rw-r--r--c/src/lib/libbsp/shared/clockdrv_shell.h3
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 35b5f8d156..2afd3b2375 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);