diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-11-24 17:58:01 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-20 23:41:27 +0900 |
commit | 8a575393a241e60bdc35f21ebe6f112b8e087227 (patch) | |
tree | 8c5d5b5e81ba73129ba344b2250b8180033584fb /include/linux/of_platform.h | |
parent | 330304f96bae2ff263c1b8ecc32c0823ad0b8130 (diff) |
of/reconfig: Always use the same structure for notifiers
The OF_RECONFIG notifier callback uses a different structure depending
on whether it is a node change or a property change. This is silly, and
not very safe. Rework the code to use the same data structure regardless
of the type of notifier.
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Cc: <linuxppc-dev@lists.ozlabs.org>
(cherry picked from commit f5242e5a883bf1c1aba6bfd87b85e7dda0e62191)
Signed-off-by: Mark Brown <broonie@kernel.org>
Conflicts:
arch/powerpc/platforms/pseries/hotplug-memory.c
include/linux/of.h
Diffstat (limited to 'include/linux/of_platform.h')
0 files changed, 0 insertions, 0 deletions