MIPS: SGI-IP27: clean up bridge access and header files
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Tue, 19 Feb 2019 15:57:16 +0000 (16:57 +0100)
committerPaul Burton <paul.burton@mips.com>
Tue, 19 Feb 2019 20:46:02 +0000 (12:46 -0800)
commita44d924c81d43ddffc985aca14aeeaf1abd6dd22
treedc8defb7616ebf39551f10977666008d574cacc2
parentdb0e7d4e42b0557caad5112b405da59c933bea24
MIPS: SGI-IP27: clean up bridge access and header files

Introduced bridge_read/bridge_write/bridge_set/bridge_clr for accessing
bridge register and get rid of volatile declarations. Also removed
all typedefs from arch/mips/include/asm/pci/bridge.h and cleaned up
language in arch/mips/pci/ops-bridge.c

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/include/asm/pci/bridge.h
arch/mips/include/asm/sn/sn0/addrs.h
arch/mips/pci/ops-bridge.c
arch/mips/pci/pci-ip27.c
arch/mips/sgi-ip27/ip27-irq-pci.c