Convert CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT to Kconfig
[platform/kernel/u-boot.git] / include / clk.h
index 161bc28..dc18b03 100644 (file)
@@ -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;