Re: [PATCH] mfd: syscon: Add missing struct device_node declaration

From: Samuel Ortiz
Date: Tue Apr 09 2013 - 05:52:04 EST

Hi Silwester,

On Mon, Mar 25, 2013 at 05:56:23PM +0100, Sylwester Nawrocki wrote:
> syscon.h header uses struct device_node in functions' declarations
> without declaring it. This causes compilation warnings like:
> include/linux/mfd/syscon.h:20: warning: âstruct device_nodeâ
> declared inside parameter list
> include/linux/mfd/syscon.h:20: warning: its scope is only this
> definition or declaration, which is probably not what you want
> Fix it by adding a forward declaration of struct device_node.
> Cc: Dong Aisheng <dong.aisheng@xxxxxxxxxx>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
> ---
> include/linux/mfd/syscon.h | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks.


Intel Open Source Technology Centre
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at