Skip to content

Commit f74bdd4

Browse files
Fabian Frederickherbertx
authored andcommitted
hwrng: mxc-rnga - Fix Kconfig dependency
We can directly depend on SOC_IMX31 since commit c9ee949 ("ARM: imx: deconstruct mxc_rnga initialization") Since that commit, CONFIG_HW_RANDOM_MXC_RNGA could not be switched on with unknown symbol ARCH_HAS_RNGA and mxc-rnga.o can't be generated with ARCH=arm make M=drivers/char/hw_random Previously, HW_RANDOM_MXC_RNGA required ARCH_HAS_RNGA which was based on IMX_HAVE_PLATFORM_MXC_RNGA && ARCH_MXC. IMX_HAVE_PLATFORM_MXC_RNGA was based on SOC_IMX31. Fixes: c9ee949 ("ARM: imx: deconstruct mxc_rnga initialization") Signed-off-by: Fabian Frederick <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent e67479b commit f74bdd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/hw_random/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ config HW_RANDOM_TX4939
244244

245245
config HW_RANDOM_MXC_RNGA
246246
tristate "Freescale i.MX RNGA Random Number Generator"
247-
depends on ARCH_HAS_RNGA
247+
depends on SOC_IMX31
248248
default HW_RANDOM
249249
---help---
250250
This driver provides kernel-side support for the Random Number

0 commit comments

Comments
 (0)