From 028fdd87b79a45544a2b6902989f2cbbf73a3eac Mon Sep 17 00:00:00 2001 From: Nicolas Ferre Date: Mon, 30 Apr 2012 20:00:35 +1000 Subject: [PATCH] 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 Reviewed-by: Mark Brown Signed-off-by: Herbert Xu --- drivers/char/hw_random/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 0689bf6b018..8cd64f1d279 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. -- 2.11.4.GIT