virito_pci libray: hide vp_modern_map_capability()
authorJason Wang <jasowang@redhat.com>
Thu, 15 Apr 2021 07:31:45 +0000 (03:31 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 May 2021 08:55:52 +0000 (04:55 -0400)
commitfd466b36940b22a506265edf12714bd0cf9ed836
tree55f6d5e74e0073f3b1c0068282574c769d0833b1
parenta5f7a24f49d81fab9f59611814a8817cc8a876a2
virito_pci libray: hide vp_modern_map_capability()

No user now and the capability should not be setup
externally. Instead, every access to the capability should be done via
virtio_pci_modern_device.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210415073147.19331-6-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eli Cohen <elic@nvidia.com>
drivers/virtio/virtio_pci_modern_dev.c
include/linux/virtio_pci_modern.h