Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1523921ybg; Wed, 29 Jul 2020 17:03:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXpqTZmOv/Ep7BNC3Llap9KCrz/DrEW/In1htmZYwTtSiswkW9coLfiIAzV++t73cWaobe X-Received: by 2002:a17:906:c34e:: with SMTP id ci14mr81442ejb.335.1596067426041; Wed, 29 Jul 2020 17:03:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596067426; cv=none; d=google.com; s=arc-20160816; b=0HpE2GRosYNQ9wXeL4GY0eybcTXzQ9zDVV7gFPEIj2pV+y/EAVT5La9lKB4RgQRPiP uKPjp6wSqxLo39C5oUZ3dCeIc5GfIjwvhm+5OAv5uAX/YgAR/a31UzUhH+BEeYUPkUGw 7BpisRsW7VNJytbt+W0ZvzgriBlphHOGJr+xXmD2pMzhuDNBaAyiwKuyXbVH1DQYBhPF GRG72PnCBLr1e1VNjK23HVnbf3LPQ8l6ARzN9abpJ3+HuAyEoUrm7HL2uaegcPWm3TDR E0kc6XHCmsKcwituBEGdcayf7tiKjCLqh3DklRjrScrIOZZGTDeMb7i+ZlPAv0kD5FZR 1eUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=6cZao/ZU2s6pCmvSVkrV5EOY64mkKIIOE040RsWNtaI=; b=WIgHj30SFwzq7aaLcb0gQd2OTyHfLlQbXrk/U4FsJUP4AatjLMJQKvGIQ2hzf6R68/ LQmmsRLOFQVT62D87pOkk5xPteKVcVlBInlbxEpfJcrjIDFG0ZEmO9i1oNzW4fwUT/wU MwweeM1fpkSpAsFjmGylaef9ntwULG09muRHr4f0J3w6rYF/uvebG8LKpwVyTKDsIus/ d8RdZxIw1U+Rod/lP9u9ikYIuIsRUNSfmsrH8yh66ZW22qVX5zeSqzyew0SJ+o9PcFzf DI4bNWvAE1adqyDFxbXO49mhLrzkuwBCulqA88ceXOLXzZZfWaoMluhw18YVfyQQzPZy XRIA== 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm22si2490790ejc.191.2020.07.29.17.03.24; Wed, 29 Jul 2020 17:03:46 -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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728213AbgG3ADM (ORCPT + 99 others); Wed, 29 Jul 2020 20:03:12 -0400 Received: from inva021.nxp.com ([92.121.34.21]:48664 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726709AbgG3ADL (ORCPT ); Wed, 29 Jul 2020 20:03:11 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id AB5552010D7; Thu, 30 Jul 2020 02:03:09 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 28D0B2010CC; Thu, 30 Jul 2020 02:03:03 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id C9E3C4031D; Thu, 30 Jul 2020 02:02:54 +0200 (CEST) From: Anson Huang To: mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com, arnd@arndb.de, peng.fan@nxp.com, abel.vesa@nxp.com, fugang.duan@nxp.com, daniel.baluta@nxp.com, yuehaibing@huawei.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Linux-imx@nxp.com Subject: [PATCH V8 2/6] clk: composite: Export clk_hw_register_composite() Date: Thu, 30 Jul 2020 07:58:36 +0800 Message-Id: <1596067120-1193-3-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1596067120-1193-1-git-send-email-Anson.Huang@nxp.com> References: <1596067120-1193-1-git-send-email-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Export clk_hw_register_composite() to support user built as module. ERROR: modpost: "clk_hw_register_composite" [drivers/clk/imx/mxc-clk.ko] undefined! Signed-off-by: Anson Huang Reviewed-by: Stephen Boyd --- no change. --- drivers/clk/clk-composite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-composite.c b/drivers/clk/clk-composite.c index 7376f57..2ddb54f 100644 --- a/drivers/clk/clk-composite.c +++ b/drivers/clk/clk-composite.c @@ -328,6 +328,7 @@ struct clk_hw *clk_hw_register_composite(struct device *dev, const char *name, rate_hw, rate_ops, gate_hw, gate_ops, flags); } +EXPORT_SYMBOL_GPL(clk_hw_register_composite); struct clk_hw *clk_hw_register_composite_pdata(struct device *dev, const char *name, -- 2.7.4