mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] reset: add missing stub for device_reset()
@ 2020-03-17 15:16 Peter Mamonov
  2020-03-17 16:47 ` Ahmad Fatoum
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Mamonov @ 2020-03-17 15:16 UTC (permalink / raw)
  To: s.hauer; +Cc: barebox, Peter Mamonov

Fixes: 45b95b50cd0b (reset: add reset controller framework)
Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
---
 include/linux/reset.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/linux/reset.h b/include/linux/reset.h
index a22bcf9a5..0d4ff5d19 100644
--- a/include/linux/reset.h
+++ b/include/linux/reset.h
@@ -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);
-- 
2.24.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] reset: add missing stub for device_reset()
  2020-03-17 15:16 [PATCH] reset: add missing stub for device_reset() Peter Mamonov
@ 2020-03-17 16:47 ` Ahmad Fatoum
  2020-03-17 18:45   ` Peter Mamonov
  0 siblings, 1 reply; 3+ messages in thread
From: Ahmad Fatoum @ 2020-03-17 16:47 UTC (permalink / raw)
  To: barebox

Hello Peter,

On 3/17/20 4:16 PM, Peter Mamonov wrote:
> Fixes: 45b95b50cd0b (reset: add reset controller framework)
> Signed-off-by: Peter Mamonov <pmamonov@gmail.com>

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

> ---
>  include/linux/reset.h | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/include/linux/reset.h b/include/linux/reset.h
> index a22bcf9a5..0d4ff5d19 100644
> --- a/include/linux/reset.h
> +++ b/include/linux/reset.h
> @@ -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);
> 

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] reset: add missing stub for device_reset()
  2020-03-17 16:47 ` Ahmad Fatoum
@ 2020-03-17 18:45   ` Peter Mamonov
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Mamonov @ 2020-03-17 18:45 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

Hello, Ahmad,

On Tue, Mar 17, 2020 at 05:47:10PM +0100, Ahmad Fatoum wrote:
> Hello Peter,
> 
> On 3/17/20 4:16 PM, Peter Mamonov wrote:
> > Fixes: 45b95b50cd0b (reset: add reset controller framework)
> > Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
> 
> 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

> 
> Cheers,
> Ahmad
> 
> > ---
> >  include/linux/reset.h | 6 ++++++
> >  1 file changed, 6 insertions(+)
> > 
> > diff --git a/include/linux/reset.h b/include/linux/reset.h
> > index a22bcf9a5..0d4ff5d19 100644
> > --- a/include/linux/reset.h
> > +++ b/include/linux/reset.h
> > @@ -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);
> > 
> 
> -- 
> 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
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-17 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-17 15:16 [PATCH] reset: add missing stub for device_reset() Peter Mamonov
2020-03-17 16:47 ` Ahmad Fatoum
2020-03-17 18:45   ` Peter Mamonov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox