diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-12-05 01:08:01 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-12-19 06:07:45 +0100 |
commit | 961292e664e2ebfb56cf0733d4587711d7bc4c69 (patch) | |
tree | f4d627c8915531099776780c5a8134ca46aa6e83 /arch/powerpc/platforms | |
parent | MIPS: Set I/O port resource types correctly (diff) | |
download | linux-961292e664e2ebfb56cf0733d4587711d7bc4c69.tar.xz linux-961292e664e2ebfb56cf0733d4587711d7bc4c69.zip |
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>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/maple/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/maple/time.c b/arch/powerpc/platforms/maple/time.c index 81799d70a1ee..cfddc87f81bf 100644 --- a/arch/powerpc/platforms/maple/time.c +++ b/arch/powerpc/platforms/maple/time.c @@ -134,7 +134,7 @@ int maple_set_rtc_time(struct rtc_time *tm) static struct resource rtc_iores = { .name = "rtc", - .flags = IORESOURCE_BUSY, + .flags = IORESOURCE_IO | IORESOURCE_BUSY, }; unsigned long __init maple_get_boot_time(void) |