[PATCH] ppc iomem annotations: ->io_base_virt
commit92a11f9e7cb876e6cf9080e4a1642142cb9221b2
authorAl Viro <viro@www.linux.org.uk>
Mon, 25 Apr 2005 14:55:57 +0000 (25 07:55 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 25 Apr 2005 14:55:57 +0000 (25 07:55 -0700)
treebe7957195d3f013327b45add983e5106356286e0
parent9090e001f28de4bccae232f1b78e78fad5132ecb
[PATCH] ppc iomem annotations: ->io_base_virt

* ->io_base_virt in struct pci_controller is iomem pointer.  Marked as such.
  Most of the places that used it are already annotated to expect iomem.
* places that did gratitious (and wrong) casts a-la
isa_io_base = (unsigned long)ioremap(...);
hose->io_base_virt = (void *)isa_io_base;
  turned into
hose->io_base_virt = ioremap(...);
isa_io_base = (unsigned long)hose->io_base_virt;
* pci_bus_io_base() annotated as returning iomem pointer.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/pci.c
arch/ppc/platforms/4xx/ebony.c
arch/ppc/platforms/4xx/luan.c
arch/ppc/platforms/4xx/ocotea.c
arch/ppc/syslib/m8260_pci.c
arch/ppc/syslib/mpc52xx_pci.c
arch/ppc/syslib/ppc85xx_setup.c
include/asm-ppc/pci-bridge.h