aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp')
-rw-r--r--drivers/pnp/pnpacpi/rsparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pnp/pnpacpi/rsparser.c b/drivers/pnp/pnpacpi/rsparser.c
index 98cbc9f18eed..4ce754ab14fd 100644
--- a/drivers/pnp/pnpacpi/rsparser.c
+++ b/drivers/pnp/pnpacpi/rsparser.c
@@ -820,9 +820,9 @@ static void pnpacpi_encode_ext_irq(struct acpi_resource *resource,
820 resource->data.extended_irq.triggering = triggering; 820 resource->data.extended_irq.triggering = triggering;
821 resource->data.extended_irq.polarity = polarity; 821 resource->data.extended_irq.polarity = polarity;
822 if (triggering == ACPI_EDGE_SENSITIVE) 822 if (triggering == ACPI_EDGE_SENSITIVE)
823 resource->data.irq.sharable = ACPI_EXCLUSIVE; 823 resource->data.extended_irq.sharable = ACPI_EXCLUSIVE;
824 else 824 else
825 resource->data.irq.sharable = ACPI_SHARED; 825 resource->data.extended_irq.sharable = ACPI_SHARED;
826 resource->data.extended_irq.interrupt_count = 1; 826 resource->data.extended_irq.interrupt_count = 1;
827 resource->data.extended_irq.interrupts[0] = p->start; 827 resource->data.extended_irq.interrupts[0] = p->start;
828} 828}