summaryrefslogtreecommitdiff
path: root/arch/mips/pci/pci-alchemy.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-02-10 12:56:37 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-02-13 11:51:45 +0300
commit3440caf5f28c4e4a585dd5a7cead1b7c414973da (patch)
tree706e3fd7cf657bca6e64d9095f75dd23d1ae09f9 /arch/mips/pci/pci-alchemy.c
parent04e4783fccf4268249bff2c1be9f63013d12153a (diff)
downloadlinux-3440caf5f28c4e4a585dd5a7cead1b7c414973da.tar.xz
MIPS/alchemy: factor out the DMA coherent setup
Factor out a alchemy_dma_coherent helper that determines if the platform is DMA coherent. Also stop initializing the hw_coherentio variable, given that is only ever set to a non-zero value by the malta setup code. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/pci/pci-alchemy.c')
0 files changed, 0 insertions, 0 deletions