[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1587987364-4566-2-git-send-email-hadar.gat@arm.com>
Date: Mon, 27 Apr 2020 14:36:02 +0300
From: Hadar Gat <hadar.gat@....com>
To: Matt Mackall <mpm@...enic.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hadar Gat <hadar.gat@....com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Stefan Wahren <wahrenst@....net>,
Zaibo Xu <xuzaibo@...wei.com>,
Tomer Maimon <tmaimon77@...il.com>,
Randy Dunlap <rdunlap@...radead.org>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
Gilad Ben-Yossef <gilad@...yossef.com>,
Ofir Drang <ofir.drang@....com>
Subject: [PATCH v3 1/3] hwrng: cctrng - Add dependency on OF
The cctrng is unusable on non-DT systems so we should depend
on it.
Signed-off-by: Hadar Gat <hadar.gat@....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 0c99735..3404716 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -476,7 +476,7 @@ config HW_RANDOM_KEYSTONE
config HW_RANDOM_CCTRNG
tristate "Arm CryptoCell True Random Number Generator support"
- depends on HAS_IOMEM
+ depends on HAS_IOMEM && OF
default HW_RANDOM
help
This driver provides support for the True Random Number
--
2.7.4
Powered by blists - more mailing lists