ARM: amba: Allow some ARM_AMBA users to compile with COMPILE_TEST
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 23 Feb 2021 19:17:48 +0000 (15:17 -0400)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 16 Mar 2021 16:39:28 +0000 (10:39 -0600)
commit3b49dfb08c750d4745ad42ec042288aba932b9d5
tree49a892f3cfe7b9c567c42c1183ea59a55b81a1b9
parentd3d72a6dfffd3fcaac969786118162b596227f70
ARM: amba: Allow some ARM_AMBA users to compile with COMPILE_TEST

CONFIG_VFIO_AMBA has a light use of AMBA, adding some inline fallbacks
when AMBA is disabled will allow it to be compiled under COMPILE_TEST and
make VFIO easier to maintain.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Message-Id: <3-v1-df057e0f92c3+91-vfio_arm_compile_test_jgg@nvidia.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/Kconfig
include/linux/amba/bus.h