commit | a723e7523c140423ddb450d2ba5c3ba44b003c69 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | Wed Feb 12 15:57:07 2014 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Feb 18 13:33:56 2014 -0700 |
tree | e532439a77bc7bf45ba8f3b18810aa1e8d57bde3 | |
parent | 4f4bde1df33bde076f53325bdf2c6430cf85e1bb [diff] |
bus: mvebu-mbus: Fix incorrect size for PCI aperture resources reg[0] is the DT base, reg[1] is the DT length in bytes, struct resource.end is the inclusive end address, so a -1 is required. Tested on kirkwood. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Jason Cooper <jason@lakedaemon.net> Acked-by: Arnd Bergmann <arnd@arndb.de>