]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: meson: add static to meson_gates table
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 8 Nov 2018 16:17:41 +0000 (17:17 +0100)
committerNeil 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

index c44858822d1aea95b278fde668fb8943ef6579c8..a096a3582c2797ce4c2462364f74e69e7e60ba2e 100644 (file)
@@ -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),