]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
hwrng: Kconfig: remove dependency for atmel-rng driver
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 15 Mar 2012 15:10:59 +0000 (16:10 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 26 Mar 2012 12:06:23 +0000 (14:06 +0200)
This will allow to select this driver for newer SoCs. Make sure to
keep dependency on HAVE_CLK to avoid breaking other machines.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/Kconfig

index 0689bf6b01833495967faf00e68c3b1136a44b9c..b2402eb076c787eafd111d643982f0a6422bb41a 100644 (file)
@@ -62,7 +62,7 @@ config HW_RANDOM_AMD
 
 config HW_RANDOM_ATMEL
        tristate "Atmel Random Number Generator support"
-       depends on HW_RANDOM && ARCH_AT91SAM9G45
+       depends on HW_RANDOM && HAVE_CLK
        default HW_RANDOM
        ---help---
          This driver provides kernel-side support for the Random Number