This driver requires that the gdsys legacy driver option also be enabled
in order to build. Express that requirement in Kconfig as well.

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
 drivers/misc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index e9866fbcdd7a..966783e4b622 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -629,7 +629,7 @@ config GDSYS_SOC
 
 config IHS_FPGA
        bool "Enable IHS FPGA driver"
-       depends on MISC
+       depends on MISC && (GDSYS_LEGACY_DRIVERS || SYS_FPGA_FLAVOR_GAZERBEAM)
        help
          Support IHS (Integrated Hardware Systems) FPGA, the main FPGAs on
          gdsys devices, which supply the majority of the functionality offered
-- 
2.43.0

Reply via email to