[PATCH 1/2] OF: fix typo in for_each_compatible_node()

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 4 23:49:05 PST 2016


On Mon, Jan 04, 2016 at 07:01:21PM +0000, Trent Piepho wrote:
> Missing closing parenthesis.
> 
> Signed-off-by: Trent Piepho <tpiepho at kymetacorp.com>

Applied, thanks.

BTW as long as the patches you fixup are in the next branch you can
commit the fixes with --fixup. This allows me to squash the fixup into
the correct patch without much thinking.

Sascha

> ---
>  include/of.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/of.h b/include/of.h
> index 18c92d7..75cc3c1 100644
> --- a/include/of.h
> +++ b/include/of.h
> @@ -647,7 +647,7 @@ static inline struct device_node *of_find_node_by_path_or_alias(
>  	     dn = of_find_compatible_node(dn, type, compatible))
>  /* Iterate over compatible nodes in default device tree */
>  #define for_each_compatible_node(dn, type, compatible) \
> -        for_each_compatible_node_from(dn, NULL, type, compatible
> +        for_each_compatible_node_from(dn, NULL, type, compatible)
>  static inline struct device_node *of_find_matching_node(
>  	struct device_node *from,
>  	const struct of_device_id *matches)
> -- 
> 1.8.3.1
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list