commit | 2adfffa223500b739b17dcf3d710cec344f7608f | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Mon Jun 17 16:48:13 2013 +0200 |
committer | Grant Likely <grant.likely@linaro.org> | Wed Jul 24 11:09:59 2013 +0100 |
tree | 37ffed6b619b904dcc6796bacfeb4f0a574abbaa | |
parent | 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b [diff] |
OF: make of_property_for_each_{u32|string}() use parameters if OF is not enabled I am getting a few |warning: unused variable ‘p’ [-Wunused-variable] |warning: unused variable ‘prop’ [-Wunused-variable] in the case where CONFIG_OF is not defined and the parameters are only used in the loop macro. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Grant Likely <grant.likely@linaro.org>