summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2021-05-04 18:43:31 +0300
committerBjorn Helgaas <bhelgaas@google.com>2021-05-04 18:43:31 +0300
commita147995c9f565258d849bf5e425f7dc00bdc5c29 (patch)
tree64ef61ecf8e531795e96ed88acc75ba7dd6041b3 /include
parenta4ffbb7a96eab872ead38f8013883e958180c730 (diff)
parentbb610757fcd74558ad94fe19993fd4470208dd02 (diff)
downloadlinux-a147995c9f565258d849bf5e425f7dc00bdc5c29.tar.xz
Merge branch 'pci/brcmstb'
- Add reset_control_rearm() stub for !CONFIG_RESET_CONTROLLER (Jim Quinlan) - Fix use of BCM7216 reset controller (Jim Quinlan) - Use reset/rearm for Broadcom STB pulse reset instead of deassert/assert (Jim Quinlan) * pci/brcmstb: PCI: brcmstb: Use reset/rearm instead of deassert/assert ata: ahci_brcm: Fix use of BCM7216 reset controller reset: add missing empty function reset_control_rearm()
Diffstat (limited to 'include')
-rw-r--r--include/linux/reset.h5
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;