aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pnv-pci.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-25 16:52:36 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2019-07-01 16:26:55 +1000
commit63982618662e2a05e5c5c3e4247456d1d3467f32 (patch)
tree11ca2b5389f6fb823d69ac685951e4c3f7afde95 /arch/powerpc/include/asm/pnv-pci.h
parentpowerpc/xmon: Fix disabling tracing while in xmon (diff)
downloadlinux-dev-63982618662e2a05e5c5c3e4247456d1d3467f32.tar.xz
linux-dev-63982618662e2a05e5c5c3e4247456d1d3467f32.zip
powerpc/powernv: remove the unused pnv_pci_set_p2p function
This function has never been used anywhere in the kernel tree since it was added to the tree. We also now have proper PCIe P2P APIs in the core kernel, and any new P2P support should be using those. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/pnv-pci.h')
-rw-r--r--arch/powerpc/include/asm/pnv-pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/pnv-pci.h b/arch/powerpc/include/asm/pnv-pci.h
index 630eb8b1b7ed..9fcb0bc462c6 100644
--- a/arch/powerpc/include/asm/pnv-pci.h
+++ b/arch/powerpc/include/asm/pnv-pci.h
@@ -26,8 +26,6 @@ extern int pnv_pci_get_presence_state(uint64_t id, uint8_t *state);
extern int pnv_pci_get_power_state(uint64_t id, uint8_t *state);
extern int pnv_pci_set_power_state(uint64_t id, uint8_t state,
struct opal_msg *msg);
-extern int pnv_pci_set_p2p(struct pci_dev *initiator, struct pci_dev *target,
- u64 desc);
extern int pnv_pci_enable_tunnel(struct pci_dev *dev, uint64_t *asnind);
extern int pnv_pci_disable_tunnel(struct pci_dev *dev);