mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: Re: [PATCH] reset: add missing stub for device_reset()
Date: Tue, 17 Mar 2020 17:47:10 +0100	[thread overview]
Message-ID: <fb297aaa-6399-baa1-94e5-bc93167ed88f@pengutronix.de> (raw)
In-Reply-To: <20200317151611.4313-1-pmamonov@gmail.com>

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

  reply	other threads:[~2020-03-17 16:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-17 15:16 Peter Mamonov
2020-03-17 16:47 ` Ahmad Fatoum [this message]
2020-03-17 18:45   ` Peter Mamonov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb297aaa-6399-baa1-94e5-bc93167ed88f@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox