projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8587839
)
clk: meson: add static to meson_gates table
author
Neil Armstrong
<narmstrong@baylibre.com>
Thu, 8 Nov 2018 16:17:41 +0000
(17:17 +0100)
committer
Neil Armstrong
<narmstrong@baylibre.com>
Mon, 26 Nov 2018 13:40:52 +0000
(14:40 +0100)
The meson_gates table should be set static in the clk_meson driver.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/clk/clk_meson.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk_meson.c
b/drivers/clk/clk_meson.c
index c44858822d1aea95b278fde668fb8943ef6579c8..a096a3582c2797ce4c2462364f74e69e7e60ba2e 100644
(file)
--- a/
drivers/clk/clk_meson.c
+++ b/
drivers/clk/clk_meson.c
@@
-79,7
+79,7
@@
static ulong meson_clk_set_rate_by_id(struct clk *clk, unsigned long id,
static ulong meson_mux_get_parent(struct clk *clk, unsigned long id);
static ulong meson_clk_get_rate_by_id(struct clk *clk, unsigned long id);
-struct meson_gate gates[] = {
+st
atic st
ruct meson_gate gates[] = {
/* Everything Else (EE) domain gates */
MESON_GATE(CLKID_DDR, HHI_GCLK_MPEG0, 0),
MESON_GATE(CLKID_DOS, HHI_GCLK_MPEG0, 1),