irq: rename irq_connect() to IRQ_CONNECT()
It's not a function and requires all its arguments to be build-time constants. Make this more obvious to the end user to ease confusion. Change-Id: I64107cf4d9db9f0e853026ce78e477060570fe6f Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
a4ec963138
commit
897ffaeb2c
35 changed files with 64 additions and 68 deletions
|
@ -319,7 +319,7 @@ int _sys_clock_driver_init(struct device *device)
|
|||
|
||||
cycles_per_tick = sys_clock_hw_cycles_per_tick;
|
||||
|
||||
irq_connect(CONFIG_ARCV2_TIMER0_INT_LVL, CONFIG_ARCV2_TIMER0_INT_PRI,
|
||||
IRQ_CONNECT(CONFIG_ARCV2_TIMER0_INT_LVL, CONFIG_ARCV2_TIMER0_INT_PRI,
|
||||
_timer_int_handler, 0, 0);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue