mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/4] of: gpio: include <of.h> in <of_gpio.h>
Date: Tue, 10 Jan 2023 15:53:40 +0100	[thread overview]
Message-ID: <20230110145340.GM28911@pengutronix.de> (raw)
In-Reply-To: <20230109155836.2220277-1-a.fatoum@pengutronix.de>

On Mon, Jan 09, 2023 at 04:58:33PM +0100, Ahmad Fatoum wrote:
> This header can't be used without types and functions declared in of.h,
> so include that first.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  include/of_gpio.h | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/include/of_gpio.h b/include/of_gpio.h
> index 9076c81e5462..30ff204baf9e 100644
> --- a/include/of_gpio.h
> +++ b/include/of_gpio.h
> @@ -8,6 +8,8 @@
>  #ifndef __OF_GPIO_H
>  #define __OF_GPIO_H
>  
> +#include <of.h>
> +
>  /*
>   * This is Linux-specific flags. By default controllers' and Linux' mapping
>   * match, but GPIO controllers are free to translate their own flags to
> -- 
> 2.30.2
> 
> 
> 

-- 
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 |



      parent reply	other threads:[~2023-01-10 14:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-09 15:58 Ahmad Fatoum
2023-01-09 15:58 ` [PATCH 2/4] gpiolib: use signed int for gpio in gpiod_set_value Ahmad Fatoum
2023-01-09 15:58 ` [PATCH 3/4] gpiolib: implement dev_gpiod_get_index Ahmad Fatoum
2023-01-09 15:58 ` [PATCH 4/4] gpiolib: implement gpiod_get_value Ahmad Fatoum
2023-01-10 14:53 ` Sascha Hauer [this message]

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=20230110145340.GM28911@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=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