of/reconfig: Add OF_DYNAMIC notifier for platform_bus_type
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>
Tue, 28 Oct 2014 20:36:01 +0000 (22:36 +0200)
committerGrant Likely <grant.likely@linaro.org>
Mon, 24 Nov 2014 22:25:06 +0000 (22:25 +0000)
commit801d728c10db4b28e01590b46bf1f0df930760cc
tree152e49c3417aa84cb204faefb50f0e0c23eb1867
parentf5242e5a883bf1c1aba6bfd87b85e7dda0e62191
of/reconfig: Add OF_DYNAMIC notifier for platform_bus_type

Add OF notifier handler needed for creating/destroying platform devices
according to dynamic runtime changes in the DT live tree.

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/base/platform.c
drivers/of/platform.c
include/linux/of_platform.h