Skip to content
Commit 6f791747 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Marek Vasut
Browse files

dm: clk: add stub when CONFIG_CLK is deactivated



Add stub for functions clk_...() when CONFIG_CLK is deactivated.

This patch avoids compilation issues for driver using these API
without protection (#if CONFIG_IS_ENABLED(CLK))

For example, before this patch we have undefined reference to
`clk_disable_bulk') for code:
  clk_disable_bulk(&priv->clks);
  clk_release_bulk(&priv->clks);

Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 3c425fc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment