diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2020-01-10 18:02:04 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-01-23 21:31:21 +1100 |
commit | ac1172019593f80818a2fdc406d3d30d8bbb05f2 (patch) | |
tree | 214654c6f50e0b0e0f61b2b55c3e74fd81993292 /scripts | |
parent | 3ab3f3c9df348324029e3fbdf381f551b1df8f1e (diff) |
powernv/pci: Remove dma_dev_setup() for NPU PHBs
The pnv_pci_dma_dev_setup() only does something when:
1) There PHB contains VFs, or
2) The PHB defines a dma_dev_setup() callback in the pnv_phb structure.
Neither is true for NPU PHBs so there's no reason to set the callback.
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200110070207.439-3-oohall@gmail.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions