All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Quinlan <jim2101024@gmail.com>
To: Bjorn Helgaas <helgaas@kernel.org>,
	Amjad Ouled-Ameur <aouledameur@baylibre.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	linux-pci@vger.kernel.org,
	Nicolas Saenz Julienne <nsaenzjulienne@suse.de>,
	bcm-kernel-feedback-list@broadcom.com,
	james.quinlan@broadcom.com, jim2101024@gmail.com
Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org (open list)
Subject: [PATCH v6 1/3] reset: add missing empty function reset_control_rearm()
Date: Fri, 30 Apr 2021 11:21:54 -0400	[thread overview]
Message-ID: <20210430152156.21162-2-jim2101024@gmail.com> (raw)
In-Reply-To: <20210430152156.21162-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


  reply	other threads:[~2021-04-30 15:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-30 15:21 [PATCH v6 0/3] ata: ahci_brcm: Fix use of BCM7216 reset controller Jim Quinlan
2021-04-30 15:21 ` Jim Quinlan
2021-04-30 15:21 ` Jim Quinlan [this message]
2021-05-03 18:56   ` [PATCH v6 1/3] reset: add missing empty function reset_control_rearm() Bjorn Helgaas
2021-05-10  7:45     ` Philipp Zabel
2021-05-10 18:54       ` Bjorn Helgaas
2021-04-30 15:21 ` [PATCH v6 2/3] ata: ahci_brcm: Fix use of BCM7216 reset controller Jim Quinlan
2021-04-30 15:21 ` [PATCH v6 3/3] PCI: brcmstb: Use reset/rearm instead of deassert/assert Jim Quinlan
2021-04-30 15:21   ` Jim Quinlan
2021-05-03 18:57 ` [PATCH v6 0/3] ata: ahci_brcm: Fix use of BCM7216 reset controller Bjorn Helgaas
2021-05-03 18:57   ` Bjorn Helgaas
     [not found] <20210430151949.20849-1-jim2101024@gmail.com>
2021-04-30 15:19 ` [PATCH v6 1/3] reset: add missing empty function reset_control_rearm() Jim Quinlan

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=20210430152156.21162-2-jim2101024@gmail.com \
    --to=jim2101024@gmail.com \
    --cc=aouledameur@baylibre.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=helgaas@kernel.org \
    --cc=james.quinlan@broadcom.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=nsaenzjulienne@suse.de \
    --cc=p.zabel@pengutronix.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.