* [PATCH] hwrng: Kconfig: modify default state for atmel-rng driver
[not found] <20120427173504.GK18260@opensource.wolfsonmicro.com>
@ 2012-04-30 9:49 ` Nicolas Ferre
2012-04-30 9:55 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Ferre @ 2012-04-30 9:49 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
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 b2402eb..d98998f 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 && HAVE_CLK
- 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.
--
1.7.10
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] hwrng: Kconfig: modify default state for atmel-rng driver
2012-04-30 9:49 ` [PATCH] hwrng: Kconfig: modify default state for atmel-rng driver Nicolas Ferre
@ 2012-04-30 9:55 ` Mark Brown
2012-04-30 10:02 ` Herbert Xu
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2012-04-30 9:55 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Apr 30, 2012 at 11:49:13AM +0200, Nicolas Ferre wrote:
> 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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120430/5f19a4a3/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] hwrng: Kconfig: modify default state for atmel-rng driver
2012-04-30 9:55 ` Mark Brown
@ 2012-04-30 10:02 ` Herbert Xu
0 siblings, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2012-04-30 10:02 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Apr 30, 2012 at 10:55:12AM +0100, Mark Brown wrote:
> On Mon, Apr 30, 2012 at 11:49:13AM +0200, Nicolas Ferre wrote:
> > 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>
Patch applied. Thanks!
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-30 10:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20120427173504.GK18260@opensource.wolfsonmicro.com>
2012-04-30 9:49 ` [PATCH] hwrng: Kconfig: modify default state for atmel-rng driver Nicolas Ferre
2012-04-30 9:55 ` Mark Brown
2012-04-30 10:02 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox