arch/arc/soc: If IOAPIC is not enabled, gpio_dw should still compile
Irq flags should be set to 0. Change-Id: I7c5104c0dc89ba79789a263649422f51a556f218 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
d2b5853cd9
commit
9f3bdcedf7
1 changed files with 3 additions and 0 deletions
|
@ -150,6 +150,9 @@
|
||||||
#if defined(CONFIG_IOAPIC)
|
#if defined(CONFIG_IOAPIC)
|
||||||
#define GPIO_DW_0_IRQ_FLAGS (IOAPIC_EDGE | IOAPIC_HIGH)
|
#define GPIO_DW_0_IRQ_FLAGS (IOAPIC_EDGE | IOAPIC_HIGH)
|
||||||
#define GPIO_DW_1_IRQ_FLAGS (IOAPIC_EDGE | IOAPIC_HIGH)
|
#define GPIO_DW_1_IRQ_FLAGS (IOAPIC_EDGE | IOAPIC_HIGH)
|
||||||
|
#else
|
||||||
|
#define GPIO_DW_0_IRQ_FLAGS 0
|
||||||
|
#define GPIO_DW_1_IRQ_FLAGS 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue