2005-01-04 Joel Sherrill <joel@OARcorp.com>

* clock/clockdrv.c: Remove warnings.
This commit is contained in:
Joel Sherrill
2005-01-04 23:27:38 +00:00
parent b1cc4ec912
commit 6d2c4aa473
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2005-01-04 Joel Sherrill <joel@OARcorp.com>
* clock/clockdrv.c: Remove warnings.
2005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove build-variant support.

View File

@@ -37,10 +37,11 @@ rtems_irq_connect_data clock_isr_data = {BSP_TC1OI,
*EP7312_TC1EOI = 0xffffffff; \
} while(0)
#define Clock_driver_support_install_isr( _new, _old ) \
do { \
BSP_install_rtems_irq_handler(&clock_isr_data); \
} while(0)
#define Clock_driver_support_install_isr( _new, _old ) \
do { \
(_old) = NULL; /* avoid warning */; \
BSP_install_rtems_irq_handler(&clock_isr_data); \
} while(0)
/*
* Set up the clock hardware