提交 48582b2e 编写于 作者: J Jim Quinlan 提交者: Bjorn Helgaas

reset: add missing empty function reset_control_rearm()

All other functions are defined for when CONFIG_RESET_CONTROLLER
is not set.

Fixes: 557acb3d ("reset: make shared pulsed reset controls re-triggerable")
Link: https://lore.kernel.org/r/20210430152156.21162-2-jim2101024@gmail.comSigned-off-by: NJim Quinlan <jim2101024@gmail.com>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org # v5.11+
上级 a38fd874
...@@ -47,6 +47,11 @@ static inline int reset_control_reset(struct reset_control *rstc) ...@@ -47,6 +47,11 @@ static inline int reset_control_reset(struct reset_control *rstc)
return 0; return 0;
} }
static inline int reset_control_rearm(struct reset_control *rstc)
{
return 0;
}
static inline int reset_control_assert(struct reset_control *rstc) static inline int reset_control_assert(struct reset_control *rstc)
{ {
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册