diff mbox series

[v1] vfio: platform: enable compile test

Message ID 20201209202908.61658-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series [v1] vfio: platform: enable compile test | expand

Commit Message

Andy Shevchenko Dec. 9, 2020, 8:29 p.m. UTC
Enable compile test of the VFIO platform code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/vfio/platform/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Eric Auger Dec. 15, 2020, 9:06 a.m. UTC | #1
Hi Andy,

On 12/9/20 9:29 PM, Andy Shevchenko wrote:
> Enable compile test of the VFIO platform code.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/vfio/platform/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/vfio/platform/Kconfig b/drivers/vfio/platform/Kconfig
> index dc1a3c44f2c6..d19051b68952 100644
> --- a/drivers/vfio/platform/Kconfig
> +++ b/drivers/vfio/platform/Kconfig
> @@ -1,7 +1,8 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  config VFIO_PLATFORM
>  	tristate "VFIO support for platform devices"
> -	depends on VFIO && EVENTFD && (ARM || ARM64)
> +	depends on (ARM || ARM64) || COMPILE_TEST
> +	depends on VFIO && EVENTFD
>  	select VFIO_VIRQFD
>  	help
>  	  Support for platform devices with VFIO. This is required to make
> 
Acked-by: Eric Auger <eric.auger@redhat.com>

Thanks

Eric
diff mbox series

Patch

diff --git a/drivers/vfio/platform/Kconfig b/drivers/vfio/platform/Kconfig
index dc1a3c44f2c6..d19051b68952 100644
--- a/drivers/vfio/platform/Kconfig
+++ b/drivers/vfio/platform/Kconfig
@@ -1,7 +1,8 @@ 
 # SPDX-License-Identifier: GPL-2.0-only
 config VFIO_PLATFORM
 	tristate "VFIO support for platform devices"
-	depends on VFIO && EVENTFD && (ARM || ARM64)
+	depends on (ARM || ARM64) || COMPILE_TEST
+	depends on VFIO && EVENTFD
 	select VFIO_VIRQFD
 	help
 	  Support for platform devices with VFIO. This is required to make