sh: pci: Consolidate bus<->resource mapping in pci-lib.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 20 Apr 2009 09:47:21 +0000 (18:47 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Apr 2009 09:47:21 +0000 (18:47 +0900)
commit5160d3f782a5e0cdb3bdaa8a891a1fb9d9ab83ec
tree6db575d4980c598ec19f16a3454aacef151237e9
parent09cfeb133e3cac39b8b9a2cb1d8ab4f77e396248
sh: pci: Consolidate bus<->resource mapping in pci-lib.

Now that the io and mem offsets are tracked accordingly, the pci-new
version of the bus<->resource mappers can be used generically. This
moves them in to pci-lib.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pci-lib.c
arch/sh/drivers/pci/pci-new.c
arch/sh/drivers/pci/pci.c