reset: add missing stub for device_reset()
PATCH 1/1 reset: add missing stub for device_reset()
Fixes 45b95b50cd0b (reset: add reset controller framework)
Signed-off-by Peter Mamonov <[email protected]>
--- include/linux/reset.h | 6 ++++++ 1 file changed, 6 insertions(+)
include/linux/reset.h +6 -0
@@ -49,6 +49,12 @@ static inline void reset_control_put(struct reset_control *rstc)WARN_ON (1 ); } +static inline int device_reset (struct device_d *dev) +{ +WARN_ON (1 ); +return 0 ; +} +static inline int device_reset_us (struct device_d *dev,int us) {WARN_ON (1 );
Signature · 7 lines
2.24.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Hello Peter,
Quoted 2 lines · Peter Mamonov
Fixes 45b95b50cd0b (reset: add reset controller framework)Signed-off-by Peter Mamonov <[email protected]>
I've submitted ("reset: add stub for device_reset when CONFIG_RESET_CONTROLLER=n") for this, which is currently in the next branch.
Cheers,
Ahmad
Quoted 22 lines
--- include/linux/reset.h | 6 ++++++ 1 file changed, 6 insertions(+)include/linux/reset.h +6
-0@@ -49,6 +49,12 @@ static inline void reset_control_put(struct reset_control *rstc)WARN_ON (1 ); } +static inline int device_reset (struct device_d *dev) +{ +WARN_ON (1 ); +return 0 ; +} +static inline int device_reset_us (struct device_d *dev,int us) {WARN_ON (1 );
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Hello, Ahmad,
Quoted 8 lines · Ahmad Fatoum
Hello Peter,
Quoted 2 lines · Peter Mamonov
Fixes 45b95b50cd0b (reset: add reset controller framework)Signed-off-by Peter Mamonov <[email protected]>I've submitted ("reset: add stub for
device_resetwhenCONFIG_RESET_CONTROLLER=n") for this, which is currently in the next branch.
Sorry, I've missed it. And thanks for the notice!
Regards,
Peter
Quoted 16 lines
Cheers,
AhmadQuoted 12 lines
--- include/linux/reset.h | 6 ++++++ 1 file changed, 6 insertions(+)include/linux/reset.h +0
-0@@ -49,6 +49,12 @@ static inline void reset_control_put(struct reset_control *rstc)WARN_ON (1 ); }
Quoted 21 lines
Quoted 10 lines
include/linux/reset.h +6
-0+static inline int device_reset (struct device_d *dev) +{ +WARN_ON (1 ); +return 0 ; +} +static inline int device_reset_us (struct device_d *dev,int us) {WARN_ON (1 );Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox