acpi: Add ACPI_ prefix to IRQ enum and struct names
This is done to avoid any conflicts with same IRQ enums defined by other drivers. BUG=None BRANCH=None TEST=Compiles successfully Change-Id: I539831d853286ca45f6c36c3812a6fa9602df24c Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/18444 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
committed by
Furquan Shaikh
parent
eae4926577
commit
5b9b593f2f
@@ -30,10 +30,10 @@ static void sd_fill_ssdt(struct device *dev)
|
||||
struct acpi_gpio default_gpio = {
|
||||
.type = ACPI_GPIO_TYPE_INTERRUPT,
|
||||
.pull = ACPI_GPIO_PULL_NONE,
|
||||
.irq.mode = IRQ_EDGE_TRIGGERED,
|
||||
.irq.polarity = IRQ_ACTIVE_BOTH,
|
||||
.irq.shared = IRQ_SHARED,
|
||||
.irq.wake = IRQ_WAKE,
|
||||
.irq.mode = ACPI_IRQ_EDGE_TRIGGERED,
|
||||
.irq.polarity = ACPI_IRQ_ACTIVE_BOTH,
|
||||
.irq.shared = ACPI_IRQ_SHARED,
|
||||
.irq.wake = ACPI_IRQ_WAKE,
|
||||
.interrupt_debounce_timeout = 10000, /* 100ms */
|
||||
.pin_count = 1,
|
||||
.pins = { config->sdcard_cd_gpio_default }
|
||||
|
Reference in New Issue
Block a user