clk.h: inline clk_get_by_name()
authorAndreas Bießmann <andreas@biessmann.org>
Mon, 15 Aug 2016 19:04:41 +0000 (21:04 +0200)
committerAndreas Bießmann <andreas@biessmann.org>
Mon, 15 Aug 2016 20:58:03 +0000 (22:58 +0200)
commitd51e9a1d04ab77ee26da534172c0c3891dc8ac4f
tree8e6188ac824926347c7581f23129ee96445f8f24
parent9e5935c04e891abb38a92a893f3457cdf304ef4f
clk.h: inline clk_get_by_name()

Fix compile warning for non OF_CONTROL builds:

---8<---
In file included from /Volumes/devel/u-boot/drivers/gpio/atmel_pio4.c:10:0:
/Volumes/devel/u-boot/include/clk.h:107:12: warning: 'clk_get_by_name' defined but not used [-Wunused-function]
--->8---

Signed-off-by: Andreas Bießmann <andreas@biessmann.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
include/clk.h