Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp309540ybg; Tue, 9 Jun 2020 00:48:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ4JBW/dOhz3tohCkohPMTEwchcP4prWVnbo2Opx2qrpCzFGTCkIAHaHqwEZc87r+0VLGY X-Received: by 2002:a17:906:73db:: with SMTP id n27mr23641302ejl.16.1591688906279; Tue, 09 Jun 2020 00:48:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591688906; cv=none; d=google.com; s=arc-20160816; b=tuWF3T+yC1Nr9hKmuEGs5R5JLXbg7SjXnTj0P7ydaPPRGwAuD6ismT7AXZp6EVlWVu hpQtY++zsclEB8KFyo1xZQzmEDUdf4I+JKFh7uT7pFjtC+1z4NX18o+OlVY6eOGCyRl9 iRmiB1CSRN4L4HFfVu4GU6pqNiD9KLE3xaCNvJbiJ3H1iGKVUyVWe7SlPDj++ifylLbH c5OwliZOglia3wM/0MEnky7FsigHlJzn9wjy3iXuT6i1tCNxAIraWzOLQXXuuokX31op nYgtVIPCjvenX/r7V+nR5Xogi4x+uYhudOJRy5scr5PMkigxUJJZwUHIvKsz+LpRnuny +LbQ== 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=H+5a1vFhF9LReHO5yK3c5N9EksLm29I/LoxYGqwqEGE=; b=xFYAW4PPN92I6i9+TrAW59cKBswL2Pa1HaV4hBgST1xUQ5VegQP4TyhldkNWsoLyXb jAhGxaCh4+8AeyKJOoSRhWa+E+TUJahcT3ZcTvVj1JlfooUOnrjkTQ7y8EtDxQKuClb1 xf18rfjdTmRrltZl+8PiqS/fbkWodGeF639q/T5dIru0qlR5eyTcOKTtW5+c4FNj+kzq JvXEIw3/nhPADu0TApmAtopxNJXSNtRrSRCD1G0I4jU2HGJ9z/W4Oqqx1PXX1nUYp1oq QBwm5tResxuEoLd309n1sgxLYzLN6sJw5ozejMjTa49sMBNB5lSDnXXJqu+CaNh7WLVc 0M5A== 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 jz17si9970996ejb.243.2020.06.09.00.48.03; Tue, 09 Jun 2020 00:48:26 -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 S1727846AbgFIHnX (ORCPT + 99 others); Tue, 9 Jun 2020 03:43:23 -0400 Received: from inva021.nxp.com ([92.121.34.21]:48502 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726187AbgFIHnP (ORCPT ); Tue, 9 Jun 2020 03:43:15 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E274F200FCC; Tue, 9 Jun 2020 09:43:13 +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 09231200FC4; Tue, 9 Jun 2020 09:43:04 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 92BA34029F; Tue, 9 Jun 2020 15:42:51 +0800 (SGT) From: Anson Huang To: linux@armlinux.org.uk, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, oleksandr.suvorov@toradex.com, stefan.agner@toradex.com, arnd@arndb.de, abel.vesa@nxp.com, peng.fan@nxp.com, aisheng.dong@nxp.com, tglx@linutronix.de, allison@lohutok.net, gregkh@linuxfoundation.org, info@metux.net, leonard.crestez@nxp.com, fugang.duan@nxp.com, daniel.baluta@nxp.com, yuehaibing@huawei.com, sfr@canb.auug.org.au, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH V2 1/9] clk: composite: Export clk_hw_register_composite() Date: Tue, 9 Jun 2020 15:32:05 +0800 Message-Id: <1591687933-19495-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591687933-19495-1-git-send-email-Anson.Huang@nxp.com> References: <1591687933-19495-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! scripts/Makefile.modpost:111: recipe for target 'Module.symvers' failed make[1]: *** [Module.symvers] Error 1 make[1]: *** Deleting file 'Module.symvers' Makefile:1384: recipe for target 'modules' failed make: *** [modules] Error 2 Signed-off-by: Anson Huang --- 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