Messages in this thread | | | Date | Tue, 9 Apr 2013 11:51:54 +0200 | From | Samuel Ortiz <> | 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@linaro.org> > Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> > Signed-off-by: Kyungmin Park <kyungmin.park@samsung.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |