summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-11-19 09:39:56 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-11-19 09:45:23 +0100
commitfbd3ef2af62a497f3471c419f54783f828af9bfb (patch)
tree77ebd53cd7a1dfa1d213133c9a72484e50a8fcd2 /drivers/bus
parent6f4ad0586dca7584bfa9e16af63a3b2575f12bb3 (diff)
downloadbarebox-fbd3ef2af62a497f3471c419f54783f828af9bfb.tar.gz
barebox-fbd3ef2af62a497f3471c419f54783f828af9bfb.tar.xz
bus: omap-gpmc: make locally used function static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/omap-gpmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/omap-gpmc.c b/drivers/bus/omap-gpmc.c
index be9ef92851..a3fccb2182 100644
--- a/drivers/bus/omap-gpmc.c
+++ b/drivers/bus/omap-gpmc.c
@@ -187,7 +187,7 @@ static unsigned int gpmc_ns_to_ticks(unsigned int time_ns)
return (time_ns * 1000 + tick_ps - 1) / tick_ps;
}
-int gpmc_calc_divider(unsigned int sync_clk)
+static int gpmc_calc_divider(unsigned int sync_clk)
{
int div;
u32 l;