Skip to content

Commit 48582b2

Browse files
jim2101024bjorn-helgaas
authored andcommitted
reset: add missing empty function reset_control_rearm()
All other functions are defined for when CONFIG_RESET_CONTROLLER is not set. Fixes: 557acb3 ("reset: make shared pulsed reset controls re-triggerable") Link: https://lore.kernel.org/r/20210430152156.21162-2-jim2101024@gmail.com Signed-off-by: Jim Quinlan <jim2101024@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: stable@vger.kernel.org # v5.11+
1 parent a38fd87 commit 48582b2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

include/linux/reset.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ static inline int reset_control_reset(struct reset_control *rstc)
4747
return 0;
4848
}
4949

50+
static inline int reset_control_rearm(struct reset_control *rstc)
51+
{
52+
return 0;
53+
}
54+
5055
static inline int reset_control_assert(struct reset_control *rstc)
5156
{
5257
return 0;

0 commit comments

Comments
 (0)