Commit ab7d8854 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Herbert Xu

hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER

The Cavium ThunderX Random Number Generator is only present on Cavium
ThunderX SoCs, and not available as an independent PCIe endpoint.  Hence
add a dependency on ARCH_THUNDER, to prevent asking the user about this
driver when configuring a kernel without Cavium Thunder SoC  support.

Fixes: cc2f1908 ("hwrng: cavium - Add Cavium HWRNG driver for ThunderX SoC.")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 735efea6
...@@ -401,7 +401,7 @@ config HW_RANDOM_MESON ...@@ -401,7 +401,7 @@ config HW_RANDOM_MESON
config HW_RANDOM_CAVIUM config HW_RANDOM_CAVIUM
tristate "Cavium ThunderX Random Number Generator support" tristate "Cavium ThunderX Random Number Generator support"
depends on HW_RANDOM && PCI && ARM64 depends on HW_RANDOM && PCI && ARCH_THUNDER
default HW_RANDOM default HW_RANDOM
help help
This driver provides kernel-side support for the Random Number This driver provides kernel-side support for the Random Number
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment