projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38fd87
)
reset: add missing empty function reset_control_rearm()
author
Jim Quinlan
<jim2101024@gmail.com>
Fri, 30 Apr 2021 15:21:54 +0000
(11:21 -0400)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Mon, 3 May 2021 18:09:30 +0000
(13:09 -0500)
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/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+
include/linux/reset.h
patch
|
blob
|
history
diff --git
a/include/linux/reset.h
b/include/linux/reset.h
index
b9109ef
..
9700124
100644
(file)
--- 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;