From: Neil Armstrong Date: Thu, 8 Nov 2018 16:17:41 +0000 (+0100) Subject: clk: meson: add static to meson_gates table X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=19987c3908b88b48f59013a90917cd2ab6802626;p=u-boot.git clk: meson: add static to meson_gates table The meson_gates table should be set static in the clk_meson driver. Signed-off-by: Neil Armstrong --- diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c index c44858822d..a096a3582c 100644 --- 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[] = { +static struct meson_gate gates[] = { /* Everything Else (EE) domain gates */ MESON_GATE(CLKID_DDR, HHI_GCLK_MPEG0, 0), MESON_GATE(CLKID_DOS, HHI_GCLK_MPEG0, 1),