Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp803629pxb; Fri, 3 Sep 2021 14:01:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZUQ+Eb7kGMyPFS+ZKWmb5/OcrZ5cqG3qyw1ylcnrv5sEaK1rk0scQENn/y2xQOh4R7b1w X-Received: by 2002:a92:c56c:: with SMTP id b12mr623966ilj.7.1630702893673; Fri, 03 Sep 2021 14:01:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630702893; cv=none; d=google.com; s=arc-20160816; b=lPV9BrQRWOxLDxt9XWAHgcHbnM6RbPm95vOFGDf90ih3zOB49bbxC8Fo1c5IV5SzjQ 7//jdBt4OnrLb62GbCTXFH8cv4+kiEl5S/4h6UFcISNUu6xBgFHOZU/dNePFaF55dRJb /6spQrQj9/Jlx28RTbBlDFk+gWPrK26yBfsEVRzb3BAafZi3GJ4SNpcINvsbCWkf2Wyh 4FOv1cqlXP1P1UuIqqcNz+zeps+gGnL1o+WD0EoWxMUfsT2Qqi1n1NFqiFFqFerOq/Z+ T2ltCAmtHVTY6cQ8tVyUDz3bSe02rfzXB0P8xbt10rA01rl+EW8OG6rOlvdjcOuaNFBP 2dXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=CkFr17qyN7wO7ydlmy7lbHzwI1/lx/jj14wcc0BjM/8=; b=yvAmhp6tMFVasAhLbb43YQ++tReNL/KjKiuHoePFugKePIhf/SFKy1yfbkky24BvfI Mhx8STdNYaVm2UE5hbJOmP1DeKCbkI0S3kN/585G9PqzBITb526kHvB+BvBBXN6ysMtr Rq2NScN4fN1AG9WkNJiLoIBikZsMdc46vPQsjJu9gF+X6MGE8X2kLPvAX7FkZLZwErqm JcVJK5QsEy9dsAT+GLKBPTN2y3m9/JoCvdVOPbAZpMUTgoG9YazN5ynbc0Zj8y5LqKqR BOk59UZE6Q47pa/ybQg6ZL8zQweILbAMFy1FkaL4j3OO4qbNzkZ+cMueaCTwSDd/L50e vWKg== 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 b17si364561ilm.174.2021.09.03.14.01.20; Fri, 03 Sep 2021 14:01:33 -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 S1350309AbhICVBF (ORCPT + 99 others); Fri, 3 Sep 2021 17:01:05 -0400 Received: from gloria.sntech.de ([185.11.138.130]:46434 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350205AbhICVBC (ORCPT ); Fri, 3 Sep 2021 17:01:02 -0400 Received: from ip5f5a6e92.dynamic.kabel-deutschland.de ([95.90.110.146] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMGI2-0007Iw-D3; Fri, 03 Sep 2021 22:59:58 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Michael Turquette , Stephen Boyd , Miles Chen Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, wsd_upstream@mediatek.com, Miles Chen Subject: Re: [PATCH] clk: rockchip: use module_platform_driver_probe Date: Fri, 03 Sep 2021 22:59:57 +0200 Message-ID: <1764446.vrLGdHa7mH@diego> In-Reply-To: <20210902075713.7563-1-miles.chen@mediatek.com> References: <20210902075713.7563-1-miles.chen@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Donnerstag, 2. September 2021, 09:57:13 CEST schrieb Miles Chen: > Replace builtin_platform_driver_probe with module_platform_driver_probe > because that rk3399 and rk3568 can be built as kernel modules. > > Cc: Stephen Boyd > Signed-off-by: Miles Chen on both rk3399 and rk3568: Tested-by: Heiko Stuebner and also Reviewed-by: Heiko Stuebner Heiko > --- > drivers/clk/rockchip/clk-rk3399.c | 2 +- > drivers/clk/rockchip/clk-rk3568.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c > index 62a4f2543960..a5169156f1d2 100644 > --- a/drivers/clk/rockchip/clk-rk3399.c > +++ b/drivers/clk/rockchip/clk-rk3399.c > @@ -1653,7 +1653,7 @@ static struct platform_driver clk_rk3399_driver = { > .suppress_bind_attrs = true, > }, > }; > -builtin_platform_driver_probe(clk_rk3399_driver, clk_rk3399_probe); > +module_platform_driver_probe(clk_rk3399_driver, clk_rk3399_probe); > > MODULE_DESCRIPTION("Rockchip RK3399 Clock Driver"); > MODULE_LICENSE("GPL"); > diff --git a/drivers/clk/rockchip/clk-rk3568.c b/drivers/clk/rockchip/clk-rk3568.c > index 75ca855e720d..939e7079c334 100644 > --- a/drivers/clk/rockchip/clk-rk3568.c > +++ b/drivers/clk/rockchip/clk-rk3568.c > @@ -1719,7 +1719,7 @@ static struct platform_driver clk_rk3568_driver = { > .suppress_bind_attrs = true, > }, > }; > -builtin_platform_driver_probe(clk_rk3568_driver, clk_rk3568_probe); > +module_platform_driver_probe(clk_rk3568_driver, clk_rk3568_probe); > > MODULE_DESCRIPTION("Rockchip RK3568 Clock Driver"); > MODULE_LICENSE("GPL"); >