All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 8/9] reset: declare fdtdec_phandle_args as struct to fix warning
Date: Sat, 8 Oct 2016 14:03:14 +0900	[thread overview]
Message-ID: <CAK7LNATpK=anMxrdjH=-4xfz5AVLwf6m7JtQ8OeD=pU7FOnnLA@mail.gmail.com> (raw)
In-Reply-To: <1475900731-10998-9-git-send-email-yamada.masahiro@socionext.com>

If nobody is opposed, I want to include this patch in my series.

Without this, my reset controller driver would spit a warning.



2016-10-08 13:25 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> The of_xlate() callback needs to know fdtdec_phandle_args is struct.
>
> Otherwise, the following warning is displayed.
>
> include/reset-uclass.h:40:11: warning: 'struct fdtdec_phandle_args'
> declared inside parameter list
>     struct fdtdec_phandle_args *args);
>            ^
> include/reset-uclass.h:40:11: warning: its scope is only this
> definition or declaration, which is probably not what you want
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  include/reset-uclass.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/reset-uclass.h b/include/reset-uclass.h
> index 50adeca..38c716f 100644
> --- a/include/reset-uclass.h
> +++ b/include/reset-uclass.h
> @@ -11,6 +11,7 @@
>
>  #include <reset.h>
>
> +struct fdtdec_phandle_args;
>  struct udevice;
>
>  /**
> --
> 1.9.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot



-- 
Best Regards
Masahiro Yamada

  reply	other threads:[~2016-10-08  5:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-08  4:25 [U-Boot] [PATCH 0/9] ARM: uniphier: UniPhier updates for v2016.11-rc2 Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 1/9] ARM: uniphier: enable SSC for DPLL (DRAM PLL) on LD11 SoC Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 2/9] ARM: uniphier: update DRAM init code for LD20 SoC (2nd) Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 3/9] ARM: uniphier: add work-around for VBO noise problem Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 4/9] ARM: uniphier: fix typos in a comment block Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 5/9] ARM: uniphier: enable CONFIG_SYS_NO_FLASH if no CONFIG_MICRO_SUPPORT_CARD Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 6/9] ARM: uniphier: define CONFIG_SMC911X along with CONFIG_MICRO_SUPPORT_CARD Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 7/9] ARM: uniphier: insert udelay() just before support_card_reset_deassert() Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 8/9] reset: declare fdtdec_phandle_args as struct to fix warning Masahiro Yamada
2016-10-08  5:03   ` Masahiro Yamada [this message]
2016-10-13  0:03   ` Simon Glass
2016-10-08  4:25 ` [U-Boot] [PATCH 9/9] reset: uniphier: add reset controller driver for UniPhier SoCs Masahiro Yamada
2016-10-10  1:07 ` [U-Boot] [PATCH 0/9] ARM: uniphier: UniPhier updates for v2016.11-rc2 Masahiro Yamada

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='CAK7LNATpK=anMxrdjH=-4xfz5AVLwf6m7JtQ8OeD=pU7FOnnLA@mail.gmail.com' \
    --to=yamada.masahiro@socionext.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.