diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-12-04 18:07:14 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-12-18 23:07:45 -0600 |
commit | ead1505a9d880521286157da0715f1bbc5ea8bf6 (patch) | |
tree | 14696f5b1202c838cef2ce77bd7ec417608aeb66 /arch/mips/jazz | |
parent | c82084117f79bcae085e40da526253736a247120 (diff) | |
download | linux-ead1505a9d880521286157da0715f1bbc5ea8bf6.tar.bz2 |
MIPS: 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>
Diffstat (limited to 'arch/mips/jazz')
-rw-r--r-- | arch/mips/jazz/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/jazz/setup.c b/arch/mips/jazz/setup.c index e4374a5651ce..448fd41792e4 100644 --- a/arch/mips/jazz/setup.c +++ b/arch/mips/jazz/setup.c @@ -32,22 +32,22 @@ static struct resource jazz_io_resources[] = { .start = 0x00, .end = 0x1f, .name = "dma1", - .flags = IORESOURCE_BUSY + .flags = IORESOURCE_IO | IORESOURCE_BUSY }, { .start = 0x40, .end = 0x5f, .name = "timer", - .flags = IORESOURCE_BUSY + .flags = IORESOURCE_IO | IORESOURCE_BUSY }, { .start = 0x80, .end = 0x8f, .name = "dma page reg", - .flags = IORESOURCE_BUSY + .flags = IORESOURCE_IO | IORESOURCE_BUSY }, { .start = 0xc0, .end = 0xdf, .name = "dma2", - .flags = IORESOURCE_BUSY + .flags = IORESOURCE_IO | IORESOURCE_BUSY } }; |