vfio-platform: Add COMPILE_TEST to VFIO_PLATFORM
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 23 Feb 2021 19:17:47 +0000 (15:17 -0400)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 16 Mar 2021 16:39:28 +0000 (10:39 -0600)
x86 can build platform bus code too, so vfio-platform and all the platform
reset implementations compile successfully on x86.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Message-Id: <2-v1-df057e0f92c3+91-vfio_arm_compile_test_jgg@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/Kconfig

index dc1a3c4..233efde 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config VFIO_PLATFORM
        tristate "VFIO support for platform devices"
-       depends on VFIO && EVENTFD && (ARM || ARM64)
+       depends on VFIO && EVENTFD && (ARM || ARM64 || COMPILE_TEST)
        select VFIO_VIRQFD
        help
          Support for platform devices with VFIO. This is required to make