Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1107928ybt; Wed, 1 Jul 2020 19:19:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvKV+3ONgraApVbONZIk0fdzIRiTjKZQZMyu2rXT9rr7tmf+xXhusB1j21DmZ/8GdfP9Ek X-Received: by 2002:a17:906:35d2:: with SMTP id p18mr26674180ejb.393.1593656375769; Wed, 01 Jul 2020 19:19:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593656375; cv=none; d=google.com; s=arc-20160816; b=uERMb6n/lBLcjB4Fyi2WRKrQ8GlgA+e1BfLEGB7bMAf+jHu16Q7E/vmN7EKhVegFvr QMONrSPs1y8qdyckQmyyVyhPwIC4Jd1ITONkbrmChiQaaAzVDvO1s4JVrzYkKZK1Yhxe BfjlxIUJej1lHqg9oBLzhiyehxfvzGYraJmkobKk2eFyl96as654vW4h9T/dL5uY8ySW 5bRqCodYkSBjvVOYujRWTzmLLbqYiCe452ylaJQgxpCTsw8vmGqSpESWIxo3cxH6e7S4 SauBML5eT99i9PKhcoqW6K6DCdF6SdyBZD1aSgD2D4/wLXNoJFk1xlUAp6zHwAzJgqXE hkNw== 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=PGjvYzCm4/NqaG/pUuDO6tof6qdm9PaRaR7PfTqCR8w=; b=ciEIHbNYEeGajEfyq8eVzto2P8zFnjpMieyH9A5viPci0imh5pGGbChLOgHV66c1Ca jiat2zVOL1uhy2B/jAH+k8g1Ak8sp5vTrxQraF7mgiYmcCJthY5BONN1DSrTZE7BwM5U WmxlOEfsG3Jv/WR6uhC4viIPlH8k/Lwa570Jxcm1SeZo/Wgg/0ax8T/GxK3wKQnK4nBT i+J86m8OmadByWWZtUaA0XG7wDsJ9GgLsOJfy/4xv98zREmnhlsQdy7ekVMG3wowludI Akd3qjgKaMn2FkcbjD2BRafx4rNtkm/ZDn+JUgfNJPOc+Ai2+1UVcHGwPZcfSdVS9x0N jFww== 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 e22si5138004ejb.66.2020.07.01.19.19.13; Wed, 01 Jul 2020 19:19:35 -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 S1728169AbgGBCRy (ORCPT + 99 others); Wed, 1 Jul 2020 22:17:54 -0400 Received: from inva020.nxp.com ([92.121.34.13]:45958 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728132AbgGBCRw (ORCPT ); Wed, 1 Jul 2020 22:17:52 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A78791A0925; Thu, 2 Jul 2020 04:17:50 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 8AF911A1890; Thu, 2 Jul 2020 04:17:43 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id A16F8402E7; Thu, 2 Jul 2020 10:17:34 +0800 (SGT) From: Anson Huang To: mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peng.fan@nxp.com, arnd@arndb.de, abel.vesa@nxp.com, aisheng.dong@nxp.com, fugang.duan@nxp.com, daniel.baluta@nxp.com, yuehaibing@huawei.com, sfr@canb.auug.org.au, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Linux-imx@nxp.com Subject: [PATCH V4 1/5] clk: composite: Export clk_hw_register_composite() Date: Thu, 2 Jul 2020 10:14:30 +0800 Message-Id: <1593656074-10092-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593656074-10092-1-git-send-email-Anson.Huang@nxp.com> References: <1593656074-10092-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