Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp738231ybt; Mon, 6 Jul 2020 22:13:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEno4MhTrmfgPa7YEoDl9KsTdknagoJl93NkwiL6TKWF6BB/NxlsIgPvwmYLa9xRnUgRjz X-Received: by 2002:a17:906:5912:: with SMTP id h18mr46819146ejq.259.1594098825136; Mon, 06 Jul 2020 22:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594098825; cv=none; d=google.com; s=arc-20160816; b=GREdwiP59c2v33DuNHCaOyiPodUP7SXLXBzECArNgFxamBfky8mrA5FsSjmwNcryuL CF2Qyj3O+aEByaUzGEdTG1PSBQjvhx3n9p3o9xG6W+z9iZHhgAEesq+XwEjwUC6OrQds nmjlHldCXZzvbPv9n3UjOo480kUEDqCeY92qx5R8o44ffmxyMkLmnhOKWuDH3u6QCQLU 8u8SD5qZqifj6NnVmBi+0p9ZkMXFUrFVY0MnsQ0TV7Ad2Jlr7MRWFLOfJWZ66ItTdDFm QibKba+jms8BRgORXnXTW0ZXfSUCDNME0MiGAn+9om8ca0maoYL/WHpuqHmNjlOOVIMv 4suQ== 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=txV1XZKtce7UQYofJd/JiZLE77ygvL5EBGkT3kSfAlc=; b=PO0CYfiQaJlRncT538zpvG8ZriXNXuuKq4tQbf5ssagyYXD0wXAvm/4W7fYdnP6iwK N8ybb6DK6YL3DyDkXIIjgOo1vlNCANyKSVmyl0L5zFiOG4C3lhGgJzylZGMhoQENkyUq RodFhhHOfsG5U5cJVazZlb1Ek1JZQUbbBdgxG/pBzrSxpwPNSw7QySa6yA7vpYCB8YBx YMffS7qoPzu5f/u8tBZLE04DsP8jw+FBrsy2lWc2PQhsQ1wWimOwMlaI3nVUebhcetLC pQLjstN+zGnKlr9idTVgoZ+mWnZC+MqCbLvCAbLS0ggX2T3vusfmZeyUojgbDKbYRW9l Spgg== 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 di16si12643232edb.397.2020.07.06.22.13.21; Mon, 06 Jul 2020 22:13:45 -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 S1727969AbgGGFNH (ORCPT + 99 others); Tue, 7 Jul 2020 01:13:07 -0400 Received: from inva021.nxp.com ([92.121.34.21]:53216 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727046AbgGGFNG (ORCPT ); Tue, 7 Jul 2020 01:13:06 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6D0F2200842; Tue, 7 Jul 2020 07:13:04 +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 9E8BA2005D0; Tue, 7 Jul 2020 07:12:54 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id A7AAB402C8; Tue, 7 Jul 2020 13:12:42 +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, aisheng.dong@nxp.com, abel.vesa@nxp.com, peng.fan@nxp.com, sfr@canb.auug.org.au, j.remmet@phytec.de, georg.waibel@wiedemann-group.de, Georg.Waibel@wiedemann-group.com, laurent.pinchart@ideasonboard.com, chen.fang@nxp.com, fugang.duan@nxp.com, daniel.baluta@nxp.com, yuehaibing@huawei.com, andrew.smirnov@gmail.com, horia.geanta@nxp.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Linux-imx@nxp.com Subject: [PATCH V6 1/6] clk: composite: Export clk_hw_register_composite() Date: Tue, 7 Jul 2020 13:09:34 +0800 Message-Id: <1594098579-25050-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594098579-25050-1-git-send-email-Anson.Huang@nxp.com> References: <1594098579-25050-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