Searched hist:b97acde6f9840edbac5c7ea07cba6f10308d24ee (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/platform/cznic/ |
H A D | Kconfig | diff b97acde6f9840edbac5c7ea07cba6f10308d24ee Mon Sep 09 13:04:09 CEST 2024 Arnd Bergmann <arnd@arndb.de> platform: cznic: turris-omnia-mcu: fix HW_RANDOM dependency
There is still a build failure when the rwrng support is in a loadable module but the mcu driver is built-in:
arm-linux-gnueabi-ld: drivers/platform/cznic/turris-omnia-mcu-trng.o: in function `omnia_mcu_register_trng': turris-omnia-mcu-trng.c:(.text.omnia_mcu_register_trng+0x11c): undefined reference to `devm_hwrng_register'
Change the dependency to explicitly disallow the broken configuration.
Fixes: 41bb142a4028 ("platform: cznic: turris-omnia-mcu: Add support for MCU provided TRNG") Reviewed-by: Marek Behún <kabel@kernel.org> Link: https://lore.kernel.org/r/20240909110417.247453-1-arnd@kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|