Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp697098pxb; Thu, 2 Sep 2021 12:54:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTIRX0S4dPJnxrrbjrQy4cySySqdRjkBhPomSTvMt9RsvCJIF5oC4tv6g3mFl3AqVcHxY5 X-Received: by 2002:a17:906:3383:: with SMTP id v3mr5549658eja.213.1630612448161; Thu, 02 Sep 2021 12:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630612448; cv=none; d=google.com; s=arc-20160816; b=zdgnKIzlGOIjLWummUWaGkGaia5+LhsKl4ngxlE4CPrQUEMhRC4URqsOwFOOzcFHpr 0EqxAkQhhcQttu4XpbpmGtPN6TwHvNRhiR23zwj3f1a/1FJsjmYbZPwmXAcjR+PvvryU /Beo18JYlKEgxTxkzHdIn/uaDVBmCNZ+nTApjU+pwQlQVsEDyiH+JvZD8DI1Zmv8vE3I XFrwzEjFYu8KZcBg5E+aU2E5u3xvH5OpJnUoGBfbhp2JfHeoKYG664M39oZmfrdIB4XI 1YQ7EOr1ERaDxZj3AQGJW2HVTzMGxfZxfxsu962uga5FMJ5NZjCr+MTwJlX08GtQXJgp KeyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=gi8PS5XP9QCzWF8o8FL3olQBAyiiRtqobTu1AzG2vXo=; b=bWOKSsabYYCNujVnSOyYNYoiuBI9c2Bq0iZycryRCVolFTly3tlnMAZnA/zxXK/l2B qFQEzuQh5HrAJC+yVnKleVEfT6MxoJEYCJm8f7ejosecSjpcOat7dweDvUzZR/8ODwOs /aLkYyuugFINA9He6vjI+tJ7ggyD/dLjyMseLgm1TTK6MEd57cspo0sBoEe+mg7NaO7q j9nWYSwiwSmy1PWEXz4aHJ+9RExpvzKg6m4yWDpaLFfqIe1vfIn79evFz6OkNirjLkt1 ELjgXkeYBMP9V6l8xz2WJrGteDVG5i+f4fhwZB/faggwkMPJXKBW7PsqLkWOQLdLPgvG edzA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si3532468edx.138.2021.09.02.12.53.36; Thu, 02 Sep 2021 12:54:07 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243891AbhIBH6T (ORCPT + 99 others); Thu, 2 Sep 2021 03:58:19 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:39244 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S243618AbhIBH6S (ORCPT ); Thu, 2 Sep 2021 03:58:18 -0400 X-UUID: da09557aaa784b8da4159059abc99fd5-20210902 X-UUID: da09557aaa784b8da4159059abc99fd5-20210902 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1699609375; Thu, 02 Sep 2021 15:57:16 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 2 Sep 2021 15:57:15 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 2 Sep 2021 15:57:15 +0800 From: Miles Chen To: Michael Turquette , Stephen Boyd , Heiko Stuebner CC: , , , , , , Miles Chen Subject: [PATCH] clk: rockchip: use module_platform_driver_probe Date: Thu, 2 Sep 2021 15:57:13 +0800 Message-ID: <20210902075713.7563-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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"); -- 2.18.0