Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1185022
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/4] clk: ti: Mark ti_clk_features static |
| Date | 2015-07-15 22:10 +0200 |
| Message-ID | <pMBaa-1n9-13@gated-at.bofh.it> (permalink) |
| References | <pMBa9-1n9-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This variable isn't exported outside of this file so mark it
static. Silences the following sparse warning:
drivers/clk/ti/clk.c:36:24: warning: symbol 'ti_clk_features' was not declared. Should it be static?
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
drivers/clk/ti/clk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/ti/clk.c b/drivers/clk/ti/clk.c
index 931b44118bdf..5dcc1bdfc7f4 100644
--- a/drivers/clk/ti/clk.c
+++ b/drivers/clk/ti/clk.c
@@ -33,7 +33,7 @@
struct ti_clk_ll_ops *ti_clk_ll_ops;
static struct device_node *clocks_node_ptr[CLK_MAX_MEMMAPS];
-struct ti_clk_features ti_clk_features;
+static struct ti_clk_features ti_clk_features;
struct clk_iomap {
struct regmap *regmap;
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/4] TI clk driver cleanups Stephen Boyd <sboyd@codeaurora.org> - 2015-07-15 22:10 +0200 [PATCH 2/4] clk: ti: Mark ti_clk_features static Stephen Boyd <sboyd@codeaurora.org> - 2015-07-15 22:10 +0200
csiph-web