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 E1EF7C38142 for ; Fri, 27 Jan 2023 11:04:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232792AbjA0LED (ORCPT ); Fri, 27 Jan 2023 06:04:03 -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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230117015445.32500-3-jiajie.ho@starfivetech.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable compile testing for jh7110. Also remove the dependency on HW_RANDOM. Signed-off-by: Herbert Xu 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. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt