Skip to contentSkip to conversation

reset: add missing empty function reset_control_rearm()

PATCH New Jim Quinlan 1 participant 1 message Apr 30, 2021 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v6 1/3 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")
CC [email protected] # v5.11+
---
 include/linux/reset.h | 5 +++++
 1 file changed, 5 insertions(+)
include/linux/reset.h +5 -0
index b9109efa2a5c..9700124affa3 100644
@@ -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;
Signature · 1 line
2.17.1