From 8d204f85af6cfc4e788b3fe0081af5644b911a43 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Thu, 25 Oct 2018 12:44:44 +0200 Subject: [PATCH] drivers: entropy nRF5x: hide the driver on non-nRF boards The nRF5x entropy driver does not depends on SOC_FAMILY_NRF is therefore visible and selectable non-nRF5x SoCs. Fix that. Signed-off-by: Aurelien Jarno --- drivers/entropy/Kconfig.nrf5 | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/entropy/Kconfig.nrf5 b/drivers/entropy/Kconfig.nrf5 index 65268d797c7..9d1273163be 100644 --- a/drivers/entropy/Kconfig.nrf5 +++ b/drivers/entropy/Kconfig.nrf5 @@ -8,6 +8,7 @@ menuconfig ENTROPY_NRF5_RNG bool "nRF5 RNG driver" depends on ENTROPY_GENERATOR + depends on SOC_COMPATIBLE_NRF select ENTROPY_HAS_DRIVER help This option enables the RNG peripheral, which is a random number