summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2012-04-30 20:00:35 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2012-04-30 20:00:35 +1000
commit028fdd87b79a45544a2b6902989f2cbbf73a3eac (patch)
tree2d1d99458984eb225bc2d5e4f9237b90350e24eb /drivers/char
parent945478a7276407b1d435be39cde6bdaff72a7afa (diff)
downloadtalos-op-linux-028fdd87b79a45544a2b6902989f2cbbf73a3eac.tar.gz
talos-op-linux-028fdd87b79a45544a2b6902989f2cbbf73a3eac.zip
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: Nicolas Ferre <nicolas.ferre@atmel.com> Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 0689bf6b0183..8cd64f1d2797 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -63,7 +63,7 @@ config HW_RANDOM_AMD
config HW_RANDOM_ATMEL
tristate "Atmel Random Number Generator support"
depends on HW_RANDOM && ARCH_AT91SAM9G45
- default HW_RANDOM
+ default (HW_RANDOM && ARCH_AT91)
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Atmel AT91 devices.
OpenPOWER on IntegriCloud