From patchwork Fri Sep 17 06:16:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 12501093 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5704C433F5 for ; Fri, 17 Sep 2021 06:07:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AC93161019 for ; Fri, 17 Sep 2021 06:07:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AC93161019 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=26Aorvkh3Ir5SZlZV37478QJIN6zW8crquZGCakQr4E=; b=ifuzGmRl/MBFfN TfuG4GaNgvRYjCaa/ktAuUzzUWiK9fggl94KKfmE/f3HEd5S/YUCI6ZY3ngBRhfVe4nmH3sl0FwcU tyKyP7+MQ761P/xiq/Mjp1HK2OHlKdeD9I5lqSTrNrCYcPsqtD6fGC8s/F2YLSgGg5auE+Gp1iYxe 3aUULtTthlR7Wopd+lEWpg1+HgRToOhuX0VNVKTY+E34TxPgrL7HGuwxho0C9D/waArwPGvq8+0Kk QSa9NT1aazctUhV4iQ/F90J7zu7Mb6qnfxKPOHoAnTGCnUI5ufJwQPJV/kJXdnvnfihhlxmxQDUO3 3OhSFLgRB3laAFOCc9eA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mR70H-00DGmc-Iz; Fri, 17 Sep 2021 06:05:41 +0000 Received: from mail-eopbgr10051.outbound.protection.outlook.com ([40.107.1.51] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mR70D-00DGkT-Ab for linux-arm-kernel@lists.infradead.org; Fri, 17 Sep 2021 06:05:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Toiq1gWPhLgdqdENCIqxmQUVpbxedsYaAd5Nr/40t5T8tIYIWS57BBVju3rNrh0dV4xCZIo2nHLqkTN384oBwdk4WOlNRLfQDtPbqP+3abiPsxSaznm1La2mDwzlAyEN1eMFz79SkdCSQCCHsV2oyliffEwj6Za4z4oWcy03So3IMJAjsDzeMOl7+OJ4MjaEcR8XehmYeTG3IMf+/V4AiCNPhJwhMiFvPhh8IGZq6ZWuliBkf69YqGWRAFdhbkPsmsUDAWSn8Hwg6P3Gl8RRfFgt/zy9nkIObd68rmBkfsvirKC+I/m4Kwjk+eBt59NzPboixV4cR2KeJyDUE4ocjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=CZ/5rDXfDKqo4nIUE1ytYig0LzjcJmc5tyN5Dmo0wjE=; b=TIAy/hvwmV7wIbY7AOeybt6zP3jOZo5pergxkOjDW6UcW0y2lPejaDAf0/36bQdm75r5ObmvUm5lf841CvDdJ3vP3HBkNmxYZ13CKiJmaXmoVLmO95ZeV+4SD/S+zLNZAk3auTsXxZZRccT6redyCV61Mk+e96qIlu9/2+yIBLKSKBwGBCEWPUwdsMhKhLNun3nge7dM9TV++0SiYCRPMq7PSu2Mtcpdf4Yl2del+OmWkW3eSynb78ZvldLGpIRl6kHXcNuyHnTK0uX/Z2rN24PxE7X2IijxVyeMrqzzKDu3HEnGQScn4FTxbxjYQ0cyu6+Ehyj45DIlAyilISy+cA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CZ/5rDXfDKqo4nIUE1ytYig0LzjcJmc5tyN5Dmo0wjE=; b=aqQuIsbzsgISPvkRIfyPpJps+M4e652hroiGslztkA5ANFv2mS+2o50aIQSqx6SmjnVWUSzRtemN0/3m+hj5Pd5neOQqzM0SwW0FbG/WLbBVbLzNNqRhKYKorVO0QGHQ3XMTAa69gilNID5fXtAl+oUfqwCAhsfmMf6eoRhuGS0= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB7928.eurprd04.prod.outlook.com (2603:10a6:20b:2af::11) by AM6PR04MB4486.eurprd04.prod.outlook.com (2603:10a6:20b:21::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.18; Fri, 17 Sep 2021 06:05:31 +0000 Received: from AS8PR04MB7928.eurprd04.prod.outlook.com ([fe80::2989:ee3d:974d:658]) by AS8PR04MB7928.eurprd04.prod.outlook.com ([fe80::2989:ee3d:974d:658%8]) with mapi id 15.20.4523.017; Fri, 17 Sep 2021 06:05:31 +0000 From: Jacky Bai To: abel.vesa@nxp.com, sfr@canb.auug.org.au, shawnguo@kernel.org, sboyd@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] clk: imx: Fix the build break when clk-imx8ulp build as module Date: Fri, 17 Sep 2021 14:16:29 +0800 Message-Id: <20210917061629.3798360-1-ping.bai@nxp.com> X-Mailer: git-send-email 2.26.2 X-ClientProxiedBy: SG2P153CA0001.APCP153.PROD.OUTLOOK.COM (2603:1096::11) To AS8PR04MB7928.eurprd04.prod.outlook.com (2603:10a6:20b:2af::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2P153CA0001.APCP153.PROD.OUTLOOK.COM (2603:1096::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.0 via Frontend Transport; Fri, 17 Sep 2021 06:05:27 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c7fdbcb9-5c23-4f1a-5610-08d979a12760 X-MS-TrafficTypeDiagnostic: AM6PR04MB4486: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zKFaruJySeG5bLBcK93bWQGRPpbUqY8ZCkJfgarUqf9mofL0RhINZPg1J72gGHSJ/x/NR/YIgJx46a5+U80Jtl8qSgquXplOhGCRU3/UaJXFTeLrC6a87pwQGt2H1tf/2a4vRbNG3AEZZkCShumnuAtV7zc6+DjKM4NeGca3vFlFlaCzXrq8aFtd0AMRxRMC6SWUFYfaW9UpKKla/59JiWJngs7PXc/8Ty5kFFQUcQMEf6cRTXvXa7pVjAuzyJRyBf0QqUE44w1jEq4eDVYwvYvmleHbk6mjBX/y8ZIHqFXylMXxY0Kj+ScKCvDZquHkeXpIwNvuncvR8a5HHb8/3jIhzuXv2FdN+zsBcJkqo1cBz66W9eJmQqEPN6GNipAkdtWJq+I/uVmMTbli/TeCYItq9fZmyjkl7pJMlAsHpBdV6v5TI99/taVx/dtBhrLPrIBrSu9hy0yjMTBmcbpU5xGh6qqdIOWvPPz9nfXxuaHtiuAF8MO0ky5lghDp6t/vlwfs6K0OrLAtZREqRjvkj6stpFZ7+8bAq/kNfl377GMjAlYOa3Y+Qxby49b08YYnrbsczzv71JZ9nGYYQMWRTZtecT3sh36K09qRMA2r/qM9UQ7cYJCGwx3bOeyTU6tlqQhHMh8HnC+1uWlZc2FfGqPv3GD83XPrUTWxazqVX1RtAqOvaKVWr4C47eZO27x7+9t1tH6+d/u/2znPPNS0GQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB7928.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(39860400002)(346002)(376002)(366004)(6486002)(66476007)(66946007)(66556008)(6506007)(5660300002)(38350700002)(52116002)(36756003)(956004)(1076003)(186003)(2616005)(86362001)(26005)(8936002)(478600001)(6512007)(4326008)(2906002)(316002)(8676002)(83380400001)(38100700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EjAiCDKTqYZtsxnwwPfbRfonlIOo+ahj6xMC0EZLzjzsVL5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vy0utX/is7cw9QjkYw1atXRZNCh0oYv7cM5kiAvw+3KSFAVwrFvF3CDkA47IzTSyR6aCExKXkHP/ssEp7XbHmDpfSTpOsdlQWqUFDh2ThrcnzZe5qOF+IVSbN6WgGWNXewK18k/VUiUB/phykK9o7HzwiA6acXylLEKYpIBi4gbSFN8BOYNQzYZlDqX/rF7Kw1xcPCBoI+CFQuFsSTzgiZ3bE1lL5XP9Lnn X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7fdbcb9-5c23-4f1a-5610-08d979a12760 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB7928.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2021 06:05:30.9813 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: seqJJnKhKZYzvlNpLe2Z6urrVr0g0UwjATVPP5EabwwpYbrKubU/2E4kFzigJ3L4RlkqN+BzXOLILlA7Ofl+3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4486 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210916_230537_472158_A007CEE6 X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Export the necessary symbols to fix the build break when clk-imx8ulp build as module Fixes: 86ce2d393ff7 ("clk: imx: Add clock driver for imx8ulp") Signed-off-by: Jacky Bai Reviewed-by: Abel Vesa --- drivers/clk/imx/clk-composite-7ulp.c | 1 + drivers/clk/imx/clk-pfdv2.c | 1 + drivers/clk/imx/clk-pllv4.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/clk/imx/clk-composite-7ulp.c b/drivers/clk/imx/clk-composite-7ulp.c index 89106de16a3f..4eedd45dbaa8 100644 --- a/drivers/clk/imx/clk-composite-7ulp.c +++ b/drivers/clk/imx/clk-composite-7ulp.c @@ -166,3 +166,4 @@ struct clk_hw *imx8ulp_clk_hw_composite(const char *name, const char * const *pa return imx_ulp_clk_hw_composite(name, parent_names, num_parents, mux_present, rate_present, gate_present, reg, has_swrst); } +EXPORT_SYMBOL_GPL(imx8ulp_clk_hw_composite); diff --git a/drivers/clk/imx/clk-pfdv2.c b/drivers/clk/imx/clk-pfdv2.c index 42505669cdfb..6ca53a960eb7 100644 --- a/drivers/clk/imx/clk-pfdv2.c +++ b/drivers/clk/imx/clk-pfdv2.c @@ -239,3 +239,4 @@ struct clk_hw *imx_clk_hw_pfdv2(enum imx_pfdv2_type type, const char *name, return hw; } +EXPORT_SYMBOL_GPL(imx_clk_hw_pfdv2); diff --git a/drivers/clk/imx/clk-pllv4.c b/drivers/clk/imx/clk-pllv4.c index 3c750ccbee25..6e7e34571fc8 100644 --- a/drivers/clk/imx/clk-pllv4.c +++ b/drivers/clk/imx/clk-pllv4.c @@ -254,3 +254,4 @@ struct clk_hw *imx_clk_hw_pllv4(enum imx_pllv4_type type, const char *name, return hw; } +EXPORT_SYMBOL_GPL(imx_clk_hw_pllv4);