Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3108521pxj; Mon, 7 Jun 2021 02:28:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2H5fjLKm1VgpI0JM8NxAWxsj0omHAjs48UpCA2AYrze+MQ7wX3ScxqU92+kc8oq2Sc1mu X-Received: by 2002:a50:eb08:: with SMTP id y8mr19324653edp.89.1623058086846; Mon, 07 Jun 2021 02:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623058086; cv=none; d=google.com; s=arc-20160816; b=YbE3xemjm3xRFsDIyOYL8JLBQmLQtpcnne8avFKxOGmNoiiwB1HWqY7QnOqDFPB7HV au/hepxFvBXEFEG6AbmCVWKl5A1FHF/LXg3gKm9Kqd8SeJb7GOSUyoiBKPyoXGAhNvTy QxF1Grac/AzYYySc+AlMTwz2fcjrAR+P8fPUnhos8gIlByMxjQNa9dRQkk/U6TGnW1xi zxbCbdXW3YEYCbJEfTTlKV2asLcfdZVzwfqF8z5z/E8cA308+BKLO5Eb+WW0SgF0QOr+ xK60f8475WiPydrWVeyObsW1S1HRbDI1tGtxL5z3izUHzArg9B6bLomMKw9xYgFzzc4S S89Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=pjFnM+H8RXTTnWSupC3ZDo531y/e3YA8jgZWLSNtpms=; b=d5tl8eurBVifohYGwB7XZDnEelpgvodlwbS6D8wf5mIuUnK653A/cRXFTSUSXaX75V 76Tgv09FG1OfbgRquvRMfWZZ60vSBbj5yHU50gakZ01btB8Ye3bbiUkE928gRBnX4sTT Us+Gfmwp7D/wgHI85xMwVbJMaAiVDqyCX2l6Y8Tq5xXtHES7AM4h/AIhziV5d4cvLFwz /Spn2pCSXL5B2GDzU523xfBXYVeG+2vilwXAhTt46DDi9hTQxtW3ZpUS9+fSGBcDDMiK 160WWdu8G6WQqSjeuU1yThnANE85yZw1KhldYqF8qNOTbIRkyq+Cn9lvaiEOX0mfjk2b 0atQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w4si11992775edu.173.2021.06.07.02.27.44; Mon, 07 Jun 2021 02:28:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230425AbhFGJZw convert rfc822-to-8bit (ORCPT + 99 others); Mon, 7 Jun 2021 05:25:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230410AbhFGJZv (ORCPT ); Mon, 7 Jun 2021 05:25:51 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30AA8C061766 for ; Mon, 7 Jun 2021 02:24:00 -0700 (PDT) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqBUE-0005sj-Ns; Mon, 07 Jun 2021 11:23:58 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1lqBUD-0000Jo-JL; Mon, 07 Jun 2021 11:23:57 +0200 Message-ID: <9f5bee632ed493b150c47f3127242c259a385192.camel@pengutronix.de> Subject: Re: [PATCH] reset: berlin: support module build From: Philipp Zabel To: Jisheng Zhang Cc: linux-kernel@vger.kernel.org Date: Mon, 07 Jun 2021 11:23:57 +0200 In-Reply-To: <20210520171316.395de63e@xhacker.debian> References: <20210520171316.395de63e@xhacker.debian> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2021-05-20 at 17:13 +0800, Jisheng Zhang wrote: > Make reset-berlin driver to be tristate module, support to build as > a module, this is useful for GKI. > > Partially revert commit ed4dba99cae8 ("reset: berlin: make it > explicitly non-modular") > > Signed-off-by: Jisheng Zhang > --- > drivers/reset/Kconfig | 4 ++-- > drivers/reset/reset-berlin.c | 10 ++++++++-- > 2 files changed, 10 insertions(+), 4 deletions(-) > > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig > index 3e7f55e44d84..1e7443a4dae1 100644 > --- a/drivers/reset/Kconfig > +++ b/drivers/reset/Kconfig > @@ -43,8 +43,8 @@ config RESET_BCM6345 > This enables the reset controller driver for BCM6345 SoCs. > > config RESET_BERLIN > - bool "Berlin Reset Driver" if COMPILE_TEST > - default ARCH_BERLIN > + tristate "Berlin Reset Driver" > + depends on ARCH_BERLIN || COMPILE_TEST Is there a reason not to keep "default ARCH_BERLIN"? regards Philipp