summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2017-02-21 13:16:30 -0800
committerFurquan Shaikh <furquan@google.com>2017-02-22 22:19:19 +0100
commit5b9b593f2f888c81cc0af8eb2fc2173c83562003 (patch)
treefb37a6b896196713305ae305e53c1f42d536f209 /src/soc
parenteae492657797636d99f8ebef75f46237bd39b56b (diff)
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>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/skylake/sd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/skylake/sd.c b/src/soc/intel/skylake/sd.c
index a75cf635d3..a9469becf6 100644
--- a/src/soc/intel/skylake/sd.c
+++ b/src/soc/intel/skylake/sd.c
@@ -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 }