Skip to contentSkip to conversation

reset: add missing stub for device_reset()

PATCH In review Peter Mamonov 2 participants 3 messages Mar 17, 2020 Reset controller framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reset: add missing stub for device_reset()

Fixes 45b95b50cd0b (reset: add reset controller framework)
---
 include/linux/reset.h | 6 ++++++
 1 file changed, 6 insertions(+)
include/linux/reset.h +6 -0
index a22bcf9a5..0d4ff5d19 100644
@@ -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
#1 lore raw

Hello Peter,

Quoted 2 lines · Peter Mamonov
Fixes 45b95b50cd0b (reset: add reset controller framework)

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
index a22bcf9a5..0d4ff5d19 100644
@@ -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
#2 lore raw

Hello, Ahmad,

Quoted 8 lines · Ahmad Fatoum

Hello Peter,

Quoted 2 lines · Peter Mamonov
Fixes 45b95b50cd0b (reset: add reset controller framework)

I've submitted ("reset: add stub for device_reset when CONFIG_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,
Ahmad

Quoted 12 lines
---
 include/linux/reset.h | 6 ++++++
 1 file changed, 6 insertions(+)
include/linux/reset.h +0 -0
index a22bcf9a5..0d4ff5d19 100644
@@ -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