commit | 6f7917472e6428262c52c62526cdeda40a599644 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Mon Apr 27 15:29:57 2020 +0200 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Tue Apr 28 13:52:52 2020 +0200 |
tree | c609f89a520146aa1625915e71e8344b7ef983b4 | |
parent | 3c425fc0ef4de31d350695c74db7a3d6be0379b6 [diff] |
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: Patrick Delaunay <patrick.delaunay@st.com>