[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191128144450.24094-5-info@metux.net>
Date: Thu, 28 Nov 2019 15:44:48 +0100
From: "Enrico Weigelt, metux IT consult" <info@...ux.net>
To: linux-kernel@...r.kernel.org
Cc: mturquette@...libre.com, sboyd@...nel.org,
linux-clk@...r.kernel.org
Subject: [PATCH 5/7] drivers: clk: unexport clk_gpio_mux_ops field
The clk_gpio_mux_ops field doesn't seem to have any users
outside clk-gpio.c, thus unexport and make it static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@...ux.net>
---
drivers/clk/clk-gpio.c | 3 +--
include/linux/clk-provider.h | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c
index 5aa9ffe394ef..005e311c1822 100644
--- a/drivers/clk/clk-gpio.c
+++ b/drivers/clk/clk-gpio.c
@@ -111,12 +111,11 @@ static int clk_gpio_mux_set_parent(struct clk_hw *hw, u8 index)
return 0;
}
-const struct clk_ops clk_gpio_mux_ops = {
+static const struct clk_ops clk_gpio_mux_ops = {
.get_parent = clk_gpio_mux_get_parent,
.set_parent = clk_gpio_mux_set_parent,
.determine_rate = __clk_mux_determine_rate,
};
-EXPORT_SYMBOL_GPL(clk_gpio_mux_ops);
static struct clk_hw *clk_register_gpio(struct device *dev, const char *name,
const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod,
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 054e3c128ac5..b00adc1909a1 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -774,7 +774,6 @@ struct clk_gpio {
extern const struct clk_ops clk_gpio_gate_ops;
-extern const struct clk_ops clk_gpio_mux_ops;
struct clk_hw *clk_hw_register_gpio_mux(struct device *dev, const char *name,
const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod,
unsigned long flags);
--
2.11.0
Powered by blists - more mailing lists