From: Jonas Gorski Date: Wed, 19 Dec 2012 15:10:09 +0000 (-0600) Subject: of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS X-Git-Tag: v3.8-rc1~41^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab28698d33af05abab0bcf8021eafe38f7434f24;p=pandora-kernel.git of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS Fixes the following warning: include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default] include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] Signed-off-by: Jonas Gorski Signed-off-by: Rob Herring Signed-off-by: Grant Likely --- Reading git-diff-tree failed