mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
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 <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Jason Cooper <[email protected]> Acked-by: Arnd Bergmann <[email protected]>