From patchwork Fri Jan 27 11:03:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herbert Xu X-Patchwork-Id: 647682 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D08DBC38142 for ; Fri, 27 Jan 2023 11:04:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232778AbjA0LEB (ORCPT ); Fri, 27 Jan 2023 06:04:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232782AbjA0LD6 (ORCPT ); Fri, 27 Jan 2023 06:03:58 -0500 Received: from formenos.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D8074FC33; Fri, 27 Jan 2023 03:03:50 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1pLMVt-004hKi-RU; Fri, 27 Jan 2023 19:03:22 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 27 Jan 2023 19:03:21 +0800 Date: Fri, 27 Jan 2023 19:03:21 +0800 From: Herbert Xu To: Jia Jie Ho Cc: Olivia Mackall , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH] hwrng: starfive - Enable compile testing Message-ID: References: <20230117015445.32500-1-jiajie.ho@starfivetech.com> <20230117015445.32500-3-jiajie.ho@starfivetech.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230117015445.32500-3-jiajie.ho@starfivetech.com> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Enable compile testing for jh7110. Also remove the dependency on HW_RANDOM. Signed-off-by: Herbert Xu Reviewed-by: Conor Dooley Reviewed-by: Jia Jie Ho diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 9924e2f35b69..ae508e96cfc2 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -551,8 +551,7 @@ config HW_RANDOM_CN10K config HW_RANDOM_JH7110 tristate "StarFive JH7110 Random Number Generator support" - depends on SOC_STARFIVE - depends on HW_RANDOM + depends on SOC_STARFIVE || COMPILE_TEST help This driver provides support for the True Random Number Generator in StarFive JH7110 SoCs.