From patchwork Mon Jan 28 18:04:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 156815 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3719478jaa; Mon, 28 Jan 2019 10:04:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN6gypfHZ9IAJSxEkYYrRaQGPLS4mocM2LkYB8PAPxnGABq145ymua/X8CFgnMG2kYM6ZtRL X-Received: by 2002:a63:104d:: with SMTP id 13mr20803389pgq.303.1548698690509; Mon, 28 Jan 2019 10:04:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548698690; cv=none; d=google.com; s=arc-20160816; b=Z/cgzl1vPsXiWaoLV29JT9fXleYIfyIbbbcZMULOPuClOlpZ77IJzCPiixl5/ZRB3a RmkJMlRBU0bA1bNa5iMSm0tmtIZFQAziwH4dslclFrImjJfKBZa0qPjTi0aYfrj5LkYl OkR2j0IdafmDMSkEPS+XoFfyJBTr2wO/czgx4npHoRMq2zQxmK/Z5NTn/ITeETt2+QcY U1YUIUxzBA7FhG8zkBSshwyyGYAa4V32npdGdME1eCwLEcION6MnoC401qnBP/ZqR9sB ay3DOr4Fr3Hw2q03mZkIgS9fTts+1AgoOh470EQL6epxv+wP/6RU+e/H4CrH5PpoWlUX nCMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qpNi8npcEuB1/go2Tg3AdjTVG+V6jYSlzX7BwF0GsfM=; b=QHE2i+fGk/FPxzVyiw1N2rpT7tMeALZlKlGTeSP5sial8Agwg/H3FH0B15LRNKhri+ o99v7w7A1veKdDHUxSsUMqJPerD5La3oNI0NmB5q52VsxlWR7/x0OwkEFNm8VdGJUbr2 ssP4qk+xY1en/ZEXnZXVWE9qxsOluf7pnWjM7RFGlEw1Pvsxtu0076yYN33Jz4/DwQOc xroq5+KqS/zCqYE2RvqTfloPwISEhvgK4QOyLJ1Em36TYINlS1nwmGLihz5wUCS6LS8C k3/3KpqbSy2AhmqA7RIfyZ+Tdu95zBavKRfDDdt2gOgqZIfUnuYj4E37/IQsKWUkmsiM 7bkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Yf/kYh5B"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v11si14430125pgo.11.2019.01.28.10.04.50; Mon, 28 Jan 2019 10:04:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Yf/kYh5B"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727068AbfA1SEr (ORCPT + 31 others); Mon, 28 Jan 2019 13:04:47 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39301 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726971AbfA1SEp (ORCPT ); Mon, 28 Jan 2019 13:04:45 -0500 Received: by mail-wr1-f67.google.com with SMTP id t27so19125983wra.6 for ; Mon, 28 Jan 2019 10:04:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qpNi8npcEuB1/go2Tg3AdjTVG+V6jYSlzX7BwF0GsfM=; b=Yf/kYh5BzodGUwm1cbrUVBA1KqVdS2kGmvsYG6gRA4Se+GVQx8zHtil+snbPXEvzNT AeovQMbgjPdfEoBVaZmz3//mXG0o4zf8FWrufwnP0F2slTgaS4qz3gnSzd/yLcOASQQU kQ1a1EvsZWa8w7ayuI23vIftKyAkSE/QSNAbNYOAE1cWaBB5RNGPYpLJThSuhy+o8eib GcDOhT+lu4X9A/jie8xBQGzseO3DPhA1+vgJ7vz5PVnhs4/M9HFVHeX1+SQ81vol2kjP YZ6sPvdNjfXHruCJLZFZ/KbTSGT4OxtV33ulJlfGz/hcnu6trg+bQ2aGPisvcO6Jw2fU yySQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qpNi8npcEuB1/go2Tg3AdjTVG+V6jYSlzX7BwF0GsfM=; b=PrCNm9CzIqFVfWibXT7YfQFWu/IVzIstjrxMXbVCdrAHwR/Xc153M0t2LnYpo9xdTF 1cnmc9tKvJHQmmxl2FovxW462ALK+ar6cdwB+CotmgNjskHFkTtrWzvuxA4kDBMXg6Kd Rs1sjwVr6dMhAgfHjOHLTRiYquJZIKmfJBqLIokEZH4VSQMF1BNpEhodivaGqJ5nZTgG I11tm0vHiHCdioPMXjNRVm1OZ6cakpn9XQCDrxZRkYMJvtoFXDrteyFGAaGSA0E0R4fF T7iXCWxuvzH1ljgVfbYewXHGj+EnyX9ArbLevevzXb57IDlXdoJOagQyBrkH8wKzeA0i waXw== X-Gm-Message-State: AJcUukfU6Ur0pfJ/UQ2E0TwTPM7xGfvZzlyNPEY8IuvCI1uwgIl4vj4y atR1L/1ach3jp4bDUe6z4BOw0A== X-Received: by 2002:adf:ca13:: with SMTP id o19mr22509938wrh.148.1548698683205; Mon, 28 Jan 2019 10:04:43 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id p6sm145548193wrx.50.2019.01.28.10.04.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Jan 2019 10:04:42 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Stephen Boyd , Michael Turquette Cc: Jerome Brunet , Kevin Hilman , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 01/14] clk: export some clk_hw function symbols for module drivers Date: Mon, 28 Jan 2019 19:04:17 +0100 Message-Id: <20190128180430.28689-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190128180430.28689-1-jbrunet@baylibre.com> References: <20190128180430.28689-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org clk-provider.h provides clk_hw_is_prepared(), clk_hw_is_enabled() and clk_hw_is_prepared() but these symbols are not exported for the modules which prevents a clock driver using them to be compiled as a module. Export them to fix the problem. Signed-off-by: Jerome Brunet --- drivers/clk/clk.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.20.1 Acked-by: Stephen Boyd diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 5a0551aba09e..91ae0e6e76e7 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -394,16 +394,19 @@ bool clk_hw_is_prepared(const struct clk_hw *hw) { return clk_core_is_prepared(hw->core); } +EXPORT_SYMBOL_GPL(clk_hw_is_prepared); bool clk_hw_rate_is_protected(const struct clk_hw *hw) { return clk_core_rate_is_protected(hw->core); } +EXPORT_SYMBOL_GPL(clk_hw_rate_is_protected); bool clk_hw_is_enabled(const struct clk_hw *hw) { return clk_core_is_enabled(hw->core); } +EXPORT_SYMBOL_GPL(clk_hw_is_enabled); bool __clk_is_enabled(struct clk *clk) {