]> asedeno.scripts.mit.edu Git - linux.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)
commit961292e664e2ebfb56cf0733d4587711d7bc4c69
treef4d627c8915531099776780c5a8134ca46aa6e83
parentead1505a9d880521286157da0715f1bbc5ea8bf6
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