]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Set I/O port resource types correctly
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 5 Dec 2017 00:08:01 +0000 (18:08 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 19 Dec 2017 05:07:45 +0000 (23:07 -0600)
commit889bb8403a578a2b587a4b2343c872a28edeb0dc
treef4d627c8915531099776780c5a8134ca46aa6e83
parent74cdb02953ee8bceb4e2220b0ad15de08bf98533
powerpc: 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>
arch/powerpc/platforms/maple/time.c
arch/powerpc/sysdev/i8259.c