Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b81ea968 authored by Daniel Lezcano's avatar Daniel Lezcano
Browse files

clk: Add missing clk_get_sys() stub



When compiling with the COMPILE_TEST option set, the clps711x does not
compile because of the clk_get_sys() noop stub missing.

Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: default avatarMichael Turquette <mturquette@baylibre.com>
parent 177cf6e5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -461,6 +461,10 @@ static inline struct clk *clk_get_parent(struct clk *clk)
	return NULL;
}

static inline struct clk *clk_get_sys(const char *dev_id, const char *con_id)
{
	return NULL;
}
#endif

/* clk_prepare_enable helps cases using clk_enable in non-atomic context. */