diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-02-23 20:17:48 +0100 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-03-16 17:39:28 +0100 |
commit | 3b49dfb08c750d4745ad42ec042288aba932b9d5 (patch) | |
tree | 49a892f3cfe7b9c567c42c1183ea59a55b81a1b9 /drivers/vfio | |
parent | vfio-platform: Add COMPILE_TEST to VFIO_PLATFORM (diff) | |
download | linux-3b49dfb08c750d4745ad42ec042288aba932b9d5.tar.xz linux-3b49dfb08c750d4745ad42ec042288aba932b9d5.zip |
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>
Diffstat (limited to 'drivers/vfio')
-rw-r--r-- | drivers/vfio/platform/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/platform/Kconfig b/drivers/vfio/platform/Kconfig index 233efde219cc..ab341108a0be 100644 --- a/drivers/vfio/platform/Kconfig +++ b/drivers/vfio/platform/Kconfig @@ -12,7 +12,7 @@ config VFIO_PLATFORM config VFIO_AMBA tristate "VFIO support for AMBA devices" - depends on VFIO_PLATFORM && ARM_AMBA + depends on VFIO_PLATFORM && (ARM_AMBA || COMPILE_TEST) help Support for ARM AMBA devices with VFIO. This is required to make use of ARM AMBA devices present on the system using the VFIO |