]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/i8259: Set I/O port resource types correctly
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 5 Dec 2017 00:08:39 +0000 (18:08 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 19 Dec 2017 05:07:46 +0000 (23:07 -0600)
commit2e74d22e738cff84b7d92a63ac6e01bbdf4472d0
tree3059179a356c41bc74446281ac11e9ff6a86a052
parent889bb8403a578a2b587a4b2343c872a28edeb0dc
irqchip/i8259: Set I/O port resource types correctly

Set I/O port resource structs to have IORESOURCE_IO in their type field.

Previously we marked these as merely IORESOURCE_BUSY without indicating the
type.  Setting the type doesn't fix any functional problem but makes %pR
on the resource work better.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/irqchip/irq-i8259.c