[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130409095154.GO24058@zurbaran>
Date: Tue, 9 Apr 2013 11:51:54 +0200
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Sylwester Nawrocki <s.nawrocki@...sung.com>
Cc: kyungmin.park@...sung.com, linux-kernel@...r.kernel.org,
Dong Aisheng <dong.aisheng@...aro.org>
Subject: Re: [PATCH] mfd: syscon: Add missing struct device_node declaration
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@...aro.org>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@...sung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@...sung.com>
> ---
> include/linux/mfd/syscon.h | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists