arm/arm64: vgic: turn vgic_find_mmio_region into public
authorEric Auger <eric.auger@redhat.com>
Tue, 20 Dec 2016 08:20:00 +0000 (09:20 +0100)
committerChristoffer Dall <cdall@linaro.org>
Mon, 8 May 2017 12:31:48 +0000 (14:31 +0200)
commit4b7171ac564786247a49eedc59d3060bddf2377c
tree399fb98941cdd89f090e1a2e6b8a8eb0ed9d22e5
parent9ce91c7234ff477c805c3dec7cf54716193c7a48
arm/arm64: vgic: turn vgic_find_mmio_region into public

We plan to use vgic_find_mmio_region in vgic-its.c so let's
turn it into a public function.

Also let's take the opportunity to rename the region parameter
into regions to emphasize this latter is an array of regions.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <cdall@linaro.org>
virt/kvm/arm/vgic/vgic-mmio.c
virt/kvm/arm/vgic/vgic-mmio.h