Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1184127ybg; Wed, 29 Jul 2020 07:53:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzspKWEv07tjFYHkZDquuTv2j+tDW8AGfdxsUBDXe5d+OW7tYe9PdemsanNzbFsQUyKmwgn X-Received: by 2002:a50:dacf:: with SMTP id s15mr32676908edj.136.1596034419417; Wed, 29 Jul 2020 07:53:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596034419; cv=none; d=google.com; s=arc-20160816; b=BN6rAX18mIuHR10qmJLnTNjU7CpjIET/ZA/weZHCdqPhzuYnk3gNtOe6MCRGg3FQko Farw6ErCgta465gPnkbbFkLmXuWK6iBlFLExIq51D7dFamjTqmM3nr08ifJTKp8aBrR/ ucseiePFM94pAI242UDP1YkL003TK6JMy3BdTrWZh9M6OOpgVrW8waHtPDmEtm0AaSlx jNTFFjhCspizg3Gqg42ZShDxDVSN23H7o7/fehMMzcyKSUvxwdORlY/BGb4X7aZ+2xGb uXRSUxWxp45MzhlwSfccM0gfAMllphepVrKzBJKn5vWBq73XWus4FoT138LRIIMjWjN5 T/ZQ== 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=U6b8A2OpCCiwPhe55HyEUdpb2l0IQqGKDXDs3IaY8oARxqMGPYhXeeU93c5DjvcdZC 1JOqYenvr7+Rn8uWyl+qPs4KnlkK7a+RMxScCGy/4JYlTYiwlLZinZ2ZwvBysCB+/jU5 eu5+ccrgNDSGfUJS2E3a5SCmy+1E7suSALSoBbhKcaf5Pwqxvbndp8gmWbtfo8h8Oe6U Az5T/PEMUKs6RLcfufaYJkO6h6WWoUe2hYt7hYJbsWnHlUVLbMyA/uwR6Ulkl0W8zGEO HFqqbkgstMwo6nNtyM8Ep4EbvaoVM4do+l3KadWaLBn9EUmfJnwf5LYuvBU8fb7PVTvq ACJA== 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 b9si1438090edn.499.2020.07.29.07.53.16; Wed, 29 Jul 2020 07:53:39 -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 S1726899AbgG2OxH (ORCPT + 99 others); Wed, 29 Jul 2020 10:53:07 -0400 Received: from inva020.nxp.com ([92.121.34.13]:58618 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726353AbgG2OxG (ORCPT ); Wed, 29 Jul 2020 10:53:06 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D0D6D1A0005; Wed, 29 Jul 2020 16:53:04 +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 2DD011A0ECA; Wed, 29 Jul 2020 16:52:58 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id CD44C40302; Wed, 29 Jul 2020 16:52:49 +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 V7 2/6] clk: composite: Export clk_hw_register_composite() Date: Wed, 29 Jul 2020 22:48:33 +0800 Message-Id: <1596034117-24246-3-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1596034117-24246-1-git-send-email-Anson.Huang@nxp.com> References: <1596034117-24246-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