summaryrefslogtreecommitdiff
path: root/drivers/clk/clk_rk3288.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-13 13:16:10 +0900
committerSimon Glass <sjg@chromium.org>2016-01-20 19:06:23 -0700
commit9e52126f347c1de39f8fe2c62d6486cf77f4af3a (patch)
tree60abade5f3ef58afdc5bbd0e674b047effdec51b /drivers/clk/clk_rk3288.c
parentad1cf785853eef60e48053ead4fbb47dad840d55 (diff)
clk: add static qualifier to local functions
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/clk/clk_rk3288.c')
-rw-r--r--drivers/clk/clk_rk3288.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk_rk3288.c b/drivers/clk/clk_rk3288.c
index 54d49305b0..0172ad13bb 100644
--- a/drivers/clk/clk_rk3288.c
+++ b/drivers/clk/clk_rk3288.c
@@ -508,7 +508,7 @@ static ulong rockchip_spi_set_clk(struct rk3288_cru *cru, uint clk_general_rate,
return rockchip_spi_get_clk(cru, clk_general_rate, periph);
}
-ulong rk3288_set_periph_rate(struct udevice *dev, int periph, ulong rate)
+static ulong rk3288_set_periph_rate(struct udevice *dev, int periph, ulong rate)
{
struct rk3288_clk_priv *priv = dev_get_priv(dev);
ulong new_rate;