diff options
author | Jules Maselbas <jmaselbas@kalray.eu> | 2021-03-12 16:21:45 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-16 11:31:22 +0100 |
commit | 6e9d25d24629d5ea7675503625f6179b0ef6a9f6 (patch) | |
tree | de7882dd923d12793b83d1429729372fd653343e /include | |
parent | 23a82a4ca92724f7b8148b282c012d5686766b69 (diff) | |
download | barebox-6e9d25d24629d5ea7675503625f6179b0ef6a9f6.tar.gz barebox-6e9d25d24629d5ea7675503625f6179b0ef6a9f6.tar.xz |
reset: Remove WARN_ON when CONFIG_RESET_CONTROLLER=n
Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/reset.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/reset.h b/include/linux/reset.h index 4a92a177bc..a166fe1cfe 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -21,43 +21,36 @@ int __must_check device_reset_us(struct device_d *dev, int us); static inline int reset_control_reset(struct reset_control *rstc) { - WARN_ON(1); return 0; } static inline int reset_control_assert(struct reset_control *rstc) { - WARN_ON(1); return 0; } static inline int reset_control_deassert(struct reset_control *rstc) { - WARN_ON(1); 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); } static inline int device_reset_us(struct device_d *dev, int us) { - WARN_ON(1); return 0; } static inline int device_reset(struct device_d *dev) { - WARN_ON(1); return 0; } |