From: Jim Quinlan <jim2101024@gmail.com>
To: james.quinlan@broadcom.com, jim2101024@gmail.com
Cc: stable@vger.kernel.org
Subject: [PATCH v6 1/3] reset: add missing empty function reset_control_rearm()
Date: Fri, 30 Apr 2021 11:19:47 -0400 [thread overview]
Message-ID: <20210430151949.20849-2-jim2101024@gmail.com> (raw)
In-Reply-To: <20210430151949.20849-1-jim2101024@gmail.com>
All other functions are defined for when CONFIG_RESET_CONTROLLER
is not set.
Fixes: 557acb3d2cd9 ("reset: make shared pulsed reset controls re-triggerable")
CC: stable@vger.kernel.org # v5.11+
Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
---
include/linux/reset.h | 5 +++++
1 file changed, 5 insertions(+)
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;
--
2.17.1
next parent reply other threads:[~2021-04-30 15:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210430151949.20849-1-jim2101024@gmail.com>
2021-04-30 15:19 ` Jim Quinlan [this message]
[not found] <20210430152156.21162-1-jim2101024@gmail.com>
2021-04-30 15:21 ` [PATCH v6 1/3] reset: add missing empty function reset_control_rearm() Jim Quinlan
2021-05-03 18:56 ` Bjorn Helgaas
2021-05-10 7:45 ` Philipp Zabel
2021-05-10 18:54 ` Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210430151949.20849-2-jim2101024@gmail.com \
--to=jim2101024@gmail.com \
--cc=james.quinlan@broadcom.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).