linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs
       [not found] <1453760661-1444-1-git-send-email-richard@nod.at>
@ 2016-01-25 22:24 ` Richard Weinberger
  2016-01-26  9:58   ` Daniel Thompson
  2016-01-26 14:49   ` Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Weinberger @ 2016-01-25 22:24 UTC (permalink / raw)
  To: linux-kernel
  Cc: user-mode-linux-devel, Richard Weinberger, Matt Mackall,
	Herbert Xu, Lee Jones, Kieran Bingham, Pankaj Dev, Ray Jui,
	Scott Branden, Daniel Thompson, linux-crypto

Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/char/hw_random/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index dbf2271..ff00331 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -372,6 +372,7 @@ config HW_RANDOM_XGENE
 config HW_RANDOM_STM32
 	tristate "STMicroelectronics STM32 random number generator"
 	depends on HW_RANDOM && (ARCH_STM32 || COMPILE_TEST)
+	depends on HAS_IOMEM
 	help
 	  This driver provides kernel-side support for the Random Number
 	  Generator hardware found on STM32 microcontrollers.
-- 
1.8.4.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs
  2016-01-25 22:24 ` [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs Richard Weinberger
@ 2016-01-26  9:58   ` Daniel Thompson
  2016-01-26 14:49   ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Thompson @ 2016-01-26  9:58 UTC (permalink / raw)
  To: Richard Weinberger, linux-kernel
  Cc: user-mode-linux-devel, Matt Mackall, Herbert Xu, Lee Jones,
	Kieran Bingham, Pankaj Dev, Ray Jui, Scott Branden, linux-crypto

On 25/01/16 22:24, Richard Weinberger wrote:
> Not every arch has io memory.
> So, unbreak the build by fixing the dependencies.
>
> Signed-off-by: Richard Weinberger <richard@nod.at>

Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>

Thanks for cleaning up after me!

> ---
>   drivers/char/hw_random/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
> index dbf2271..ff00331 100644
> --- a/drivers/char/hw_random/Kconfig
> +++ b/drivers/char/hw_random/Kconfig
> @@ -372,6 +372,7 @@ config HW_RANDOM_XGENE
>   config HW_RANDOM_STM32
>   	tristate "STMicroelectronics STM32 random number generator"
>   	depends on HW_RANDOM && (ARCH_STM32 || COMPILE_TEST)
> +	depends on HAS_IOMEM
>   	help
>   	  This driver provides kernel-side support for the Random Number
>   	  Generator hardware found on STM32 microcontrollers.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs
  2016-01-25 22:24 ` [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs Richard Weinberger
  2016-01-26  9:58   ` Daniel Thompson
@ 2016-01-26 14:49   ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2016-01-26 14:49 UTC (permalink / raw)
  To: Richard Weinberger
  Cc: linux-kernel, user-mode-linux-devel, Matt Mackall, Lee Jones,
	Kieran Bingham, Pankaj Dev, Ray Jui, Scott Branden,
	Daniel Thompson, linux-crypto

On Mon, Jan 25, 2016 at 11:24:04PM +0100, Richard Weinberger wrote:
> Not every arch has io memory.
> So, unbreak the build by fixing the dependencies.
> 
> Signed-off-by: Richard Weinberger <richard@nod.at>

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:[~2016-01-26 14:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1453760661-1444-1-git-send-email-richard@nod.at>
2016-01-25 22:24 ` [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs Richard Weinberger
2016-01-26  9:58   ` Daniel Thompson
2016-01-26 14:49   ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).