From 1186b429fc0124828d48148b8b261322e22b5248 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Tue, 30 Jun 2020 14:20:37 +1000 Subject: [PATCH] hwrng: ba431 - Add dependency on HAS_IOMEM The ba431 driver depends on HAS_IOMEM and this was missing from the Kconfig file. Reported-by: kernel test robot Fixes: 0289e9be5dc2 ("hwrng: ba431 - add support for BA431 hwrng") Signed-off-by: Herbert Xu --- drivers/char/hw_random/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 7b876dfdbaaf..edbaf6154764 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -76,6 +76,7 @@ config HW_RANDOM_ATMEL config HW_RANDOM_BA431 tristate "Silex Insight BA431 Random Number Generator support" + depends on HAS_IOMEM default HW_RANDOM help This driver provides kernel-side support for the Random Number