Commit 028fdd87 authored by Nicolas Ferre's avatar Nicolas Ferre Committed by Herbert Xu

hwrng: Kconfig - modify default state for atmel-rng driver

In order to prevent building the Atmel hw_random driver for each and every
configuration, add a "default" Kconfig state in relation with
CONFIG_ARCH_AT91.
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Reviewed-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 945478a7
...@@ -63,7 +63,7 @@ config HW_RANDOM_AMD ...@@ -63,7 +63,7 @@ config HW_RANDOM_AMD
config HW_RANDOM_ATMEL config HW_RANDOM_ATMEL
tristate "Atmel Random Number Generator support" tristate "Atmel Random Number Generator support"
depends on HW_RANDOM && ARCH_AT91SAM9G45 depends on HW_RANDOM && ARCH_AT91SAM9G45
default HW_RANDOM default (HW_RANDOM && ARCH_AT91)
---help--- ---help---
This driver provides kernel-side support for the Random Number This driver provides kernel-side support for the Random Number
Generator hardware found on Atmel AT91 devices. Generator hardware found on Atmel AT91 devices.
......
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