of: implement pci_address_to_pio as weak function
authorRob Herring <rob.herring@calxeda.com>
Sat, 7 Sep 2013 19:07:11 +0000 (14:07 -0500)
committerRob Herring <rob.herring@calxeda.com>
Thu, 10 Oct 2013 01:04:06 +0000 (20:04 -0500)
commit25ff79443cbfa924b8df1d4a8a0fbff83816938a
treee7a9ac5cb39449b55d132c0838f7d866bc7d703c
parentba904f0649357a3cbd67e752d30898c42b1fc91a
of: implement pci_address_to_pio as weak function

Implement pci_address_to_pio as weak function to remove the dependency on
asm/prom.h. This is in preparation to make prom.h optional.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Cc: Grant Likely <grant.likely@linaro.org>
arch/microblaze/include/asm/prom.h
arch/mips/include/asm/prom.h
arch/powerpc/include/asm/prom.h
arch/x86/include/asm/prom.h
arch/x86/kernel/devicetree.c
drivers/of/address.c
drivers/of/of_pci.c
include/linux/of_address.h