summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/hash_low_64.S
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-06-11 08:31:00 +1000
committerPaul Mackerras <paulus@samba.org>2008-06-30 22:30:51 +1000
commitff1f4ee94c3c4480b9cee95da2d19668262636c6 (patch)
tree004fd1b38a03ddd32a4e06134d67faa2d3d5019c /arch/powerpc/mm/hash_low_64.S
parent9a24729d8aeef967eac7af71c6a69edc83d06558 (diff)
downloadop-kernel-dev-ff1f4ee94c3c4480b9cee95da2d19668262636c6.zip
op-kernel-dev-ff1f4ee94c3c4480b9cee95da2d19668262636c6.tar.gz
powerpc: Implement OF PCI address accessors stubs for CONFIG_PCI=n
To avoid "#ifdef CONFIG_PCI" in the drivers we should provide stubs in place of OF PCI address accessors. Without these stubs build breaks for drivers not strictly requiring PCI, for example CONFIG_FB_OF=y without CONFIG_PCI: LD .tmp_vmlinux1 drivers/built-in.o: In function `offb_map_reg': offb.c:(.text+0x6e7c): undefined reference to `of_get_pci_address' OF PCI IRQ accessors require pci_dev argument, so drivers using PCI IRQs should depend on CONFIG_PCI anyway. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm/hash_low_64.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud