timer_driver() no longer takes a parameter

Removing the parameter to timer_driver() as it is not used.

Change-Id: I09275287eeb541be0dd315056b4f2bc6cbc2573c
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-06-16 13:09:21 -04:00 committed by Anas Nashif
commit 136bef3c5d
11 changed files with 11 additions and 29 deletions

View file

@ -163,15 +163,11 @@ void _timer_int_handler(void *unused)
* @return N/A
*/
void timer_driver(
int priority /* priority parameter ignored by this driver */
)
void timer_driver(void)
{
int irq = CONFIG_ARCV2_TIMER0_INT_LVL;
int prio = CONFIG_ARCV2_TIMER0_INT_PRI;
ARG_UNUSED(priority);
/* ensure that the timer will not generate interrupts */
_arc_v2_aux_reg_write(_ARC_V2_TMR0_CONTROL, 0);
_arc_v2_aux_reg_write(_ARC_V2_TMR0_COUNT, 0); /* clear the count value */