]> Gentwo Git Trees - linux/.git/commit
PCI/P2PDMA: Reduce scope of pci_has_p2pmem()
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 3 Sep 2025 11:52:56 +0000 (14:52 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 3 Sep 2025 22:01:39 +0000 (17:01 -0500)
commit54dbd2a8e974b900b18639e75f62702a4334ddc0
tree9982543fd52074d81fef50920ebbb482f36e712a
parent6238784e502b6a9fbeb3a6b77284b29baa4135cc
PCI/P2PDMA: Reduce scope of pci_has_p2pmem()

pci_has_p2pmem() is not used outside of p2pdma.c, and there is no need to
export it for use by modules.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Link: https://patch.msgid.link/d40f3f1decf54c9236bc38b48a6aae612a5c182f.1756900291.git.leon@kernel.org
drivers/pci/p2pdma.c
include/linux/pci-p2pdma.h