bus: mvebu-mbus: Fix incorrect size for PCI aperture resources
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Wed, 12 Feb 2014 22:57:07 +0000 (15:57 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 18 Feb 2014 20:33:56 +0000 (13:33 -0700)
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>
drivers/bus/mvebu-mbus.c

Simple merge