]> git.baikalelectronics.ru Git - kernel.git/commit
memory: omap-gpmc: make gpmc_clk_ticks_to_ns() static
authorBaoyou Xie <baoyou.xie@linaro.org>
Sun, 28 Aug 2016 05:28:15 +0000 (13:28 +0800)
committerRoger Quadros <rogerq@ti.com>
Mon, 29 Aug 2016 08:00:24 +0000 (11:00 +0300)
commit195573fb9ae736b8f16b1face9e340a1c143810e
tree076ec0898b5da0a625ce6922b4b65b0e3b610769
parentf9dc086112ec555e8c6db1363fff33c9ef4fd52f
memory: omap-gpmc: make gpmc_clk_ticks_to_ns() static

We get 1 warning when build kernel with W=1:
drivers/memory/omap-gpmc.c:354:14: warning: no previous prototype for 'gpmc_clk_ticks_to_ns' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is declared
and don't need a declaration, but can be made static.
so this patch marks it 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Roger Quadros <rogerq@ti.com>
drivers/memory/omap-gpmc.c