hwrng: amd - enable AMD hw rnd driver for Maple PPC boards
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 27 Apr 2011 19:21:16 +0000 (23:21 +0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 4 May 2011 05:13:16 +0000 (15:13 +1000)
PPC 970FX Evaluation kit (Maple) boards bear AMD8111 southbridge.
Allow this driver to be compiled in if PPC_MAPLE is selected.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/Kconfig

index beecd1cf9b9922cff33f75bc361f120f2afbae93..a60043b3e4097ed59e21a78d2903ca3077019be2 100644 (file)
@@ -49,7 +49,7 @@ config HW_RANDOM_INTEL
 
 config HW_RANDOM_AMD
        tristate "AMD HW Random Number Generator support"
-       depends on HW_RANDOM && X86 && PCI
+       depends on HW_RANDOM && (X86 || PPC_MAPLE) && PCI
        default HW_RANDOM
        ---help---
          This driver provides kernel-side support for the Random Number