diff options
author | Jim Quinlan <[email protected]> | 2021-04-30 11:21:54 -0400 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-05-03 13:09:30 -0500 |
commit | 48582b2e3b87b794a9845d488af2c76ce055502b (patch) | |
tree | 8e22d39ddd5352ec9995095df3003ca0b5d48df2 | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) |
reset: add missing empty function reset_control_rearm()
All other functions are defined for when CONFIG_RESET_CONTROLLER
is not set.
Fixes: 557acb3d2cd9 ("reset: make shared pulsed reset controls re-triggerable")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jim Quinlan <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: [email protected] # v5.11+
-rw-r--r-- | include/linux/reset.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/reset.h b/include/linux/reset.h index b9109efa2a5c..9700124affa3 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -47,6 +47,11 @@ static inline int reset_control_reset(struct reset_control *rstc) return 0; } +static inline int reset_control_rearm(struct reset_control *rstc) +{ + return 0; +} + static inline int reset_control_assert(struct reset_control *rstc) { return 0; |