diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-11-14 17:55:03 +1100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-11-18 11:46:44 -0600 |
commit | 746c9e9f92dde2789908e51a354ba90a1962a2eb (patch) | |
tree | 5ca9d6602cd4eb71e1d5828b2a52666060a32f05 /samples | |
parent | 9b6eab07588c2de102423fe99c875fc4bfda2508 (diff) | |
download | lwn-746c9e9f92dde2789908e51a354ba90a1962a2eb.tar.gz lwn-746c9e9f92dde2789908e51a354ba90a1962a2eb.zip |
of/base: Fix PowerPC address parsing hack
We have a historical hack that treats missing ranges properties as the
equivalent of an empty one. This is needed for ancient PowerMac "bad"
device-trees, and shouldn't be enabled for any other PowerPC platform,
otherwise we get some nasty layout of devices in sysfs or even
duplication when a set of otherwise identically named devices is
created multiple times under a different parent node with no ranges
property.
This fix is needed for the PowerNV i2c busses to be exposed properly
and will fix a number of other embedded cases.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@vger.kernel.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions