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
|
@ -258,7 +258,7 @@ int gpio_qmsi_init(struct device *port)
|
|||
sys_write32(0, reg + INTEN);
|
||||
sys_write32(~(0), reg + PORTA_EOI);
|
||||
|
||||
irq_connect(CONFIG_GPIO_QMSI_0_IRQ, CONFIG_GPIO_QMSI_0_PRI, qm_gpio_isr_0,
|
||||
IRQ_CONNECT(CONFIG_GPIO_QMSI_0_IRQ, CONFIG_GPIO_QMSI_0_PRI, qm_gpio_isr_0,
|
||||
0, IOAPIC_EDGE | IOAPIC_HIGH);
|
||||
|
||||
/* Enable GPIO IRQ and unmask interrupts for Lakemont. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue