2014-02-20 21:58:58

by Kumar Gala

[permalink] [raw]
Subject: [PATCH v3] hwrng: msm: switch Kconfig to ARCH_QCOM depends

We've split Qualcomm MSM support into legacy and multiplatform. The RNG
driver is only relevant on the multiplatform supported SoCs so switch the
Kconfig depends to ARCH_QCOM.

CC: Herbert Xu <[email protected]>
CC: Stanimir Varbanov <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
---
Herbert,

If you can ack this I'll send it via linux-qcom/arm-soc tree's

thanks

v3:
* drop ARM references as the driver could be used on hexagon
v2:
* Updated help text to remove MSM references, made more generic

drivers/char/hw_random/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 2f2b084..244759b 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -342,11 +342,11 @@ config HW_RANDOM_TPM
If unsure, say Y.

config HW_RANDOM_MSM
- tristate "Qualcomm MSM Random Number Generator support"
- depends on HW_RANDOM && ARCH_MSM
+ tristate "Qualcomm SoCs Random Number Generator support"
+ depends on HW_RANDOM && ARCH_QCOM
---help---
This driver provides kernel-side support for the Random Number
- Generator hardware found on Qualcomm MSM SoCs.
+ Generator hardware found on Qualcomm SoCs.

To compile this driver as a module, choose M here. the
module will be called msm-rng.
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation


2014-02-21 00:31:40

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH v3] hwrng: msm: switch Kconfig to ARCH_QCOM depends

On Thu, Feb 20, 2014 at 03:58:53PM -0600, Kumar Gala wrote:
> We've split Qualcomm MSM support into legacy and multiplatform. The RNG
> driver is only relevant on the multiplatform supported SoCs so switch the
> Kconfig depends to ARCH_QCOM.
>
> CC: Herbert Xu <[email protected]>
> CC: Stanimir Varbanov <[email protected]>
> Signed-off-by: Kumar Gala <[email protected]codeaurora.org>

Acked-by: Herbert Xu <[email protected]>

Thanks,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt