summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-01-30 16:40:13 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-02-05 08:23:12 +0100
commit4078b040ef84295a264b644a9831f8c0988f0c74 (patch)
tree66f02f08272c26de3a513f71437edf3daf769b32
parentf70bf1aeb580123d39f182cc32100c0e7042fbed (diff)
downloadbarebox-4078b040ef84295a264b644a9831f8c0988f0c74.tar.gz
barebox-4078b040ef84295a264b644a9831f8c0988f0c74.tar.xz
reset: add missing stub for reset_control_get
Fixes: 45b95b50cd0b (reset: add reset controller framework) Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/linux/reset.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/reset.h b/include/linux/reset.h
index be0d1bb5a6..a22bcf9a5d 100644
--- a/include/linux/reset.h
+++ b/include/linux/reset.h
@@ -37,6 +37,13 @@ static inline int reset_control_deassert(struct reset_control *rstc)
return 0;
}
+static inline struct reset_control *
+reset_control_get(struct device_d *dev, const char *id)
+{
+ WARN_ON(1);
+ return NULL;
+}
+
static inline void reset_control_put(struct reset_control *rstc)
{
WARN_ON(1);