summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clk.h b/include/clk.h
index 161bc2825f..dc18b0310a 100644
--- a/include/clk.h
+++ b/include/clk.h
@@ -104,7 +104,7 @@ static inline int clk_get_by_index(struct udevice *dev, int index,
return -ENOSYS;
}
-static int clk_get_by_name(struct udevice *dev, const char *name,
+static inline int clk_get_by_name(struct udevice *dev, const char *name,
struct clk *clk)
{
return -ENOSYS;