diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-03-25 20:56:23 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-09 13:52:32 +0400 |
commit | 5fb1c2dd8f9e9f3fd4ecbaefc75b83ab0ec40cfa (patch) | |
tree | 3062813ba600f0f5571b1d88dcf68682f516c80e /drivers/mfd/db8500-prcmu.c | |
parent | f201f730b82393aa4969171d724025a82f7099da (diff) | |
download | linux-5fb1c2dd8f9e9f3fd4ecbaefc75b83ab0ec40cfa.tar.xz |
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 <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/db8500-prcmu.c')
0 files changed, 0 insertions, 0 deletions