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, 16 Apr 2012 10:47:18 +0000 (12:47 +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 0689bf6..b2402eb 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