From: Sylwester Nawrocki Date: Mon, 25 Mar 2013 16:56:23 +0000 (+0100) Subject: mfd: syscon: Add missing struct device_node declaration X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~31^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fb1c2dd8f9e9f3fd4ecbaefc75b83ab0ec40cfa;p=pandora-kernel.git mfd: syscon: Add missing struct device_node declaration 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. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Acked-by: Dong Aisheng Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed