diff options
| author | Pantelis Antoniou <[email protected]> | 2014-10-28 20:36:01 +0000 |
|---|---|---|
| committer | Grant Likely <[email protected]> | 2014-11-24 22:25:06 +0000 |
| commit | 801d728c10db4b28e01590b46bf1f0df930760cc (patch) | |
| tree | 152e49c3417aa84cb204faefb50f0e0c23eb1867 /drivers/base/platform.c | |
| parent | of/reconfig: Always use the same structure for notifiers (diff) | |
| download | kernel-801d728c10db4b28e01590b46bf1f0df930760cc.tar.gz kernel-801d728c10db4b28e01590b46bf1f0df930760cc.zip | |
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 <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'drivers/base/platform.c')
| -rw-r--r-- | drivers/base/platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c index b2afc29403f9..233ececd15a3 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -1006,6 +1006,7 @@ int __init platform_bus_init(void) error = bus_register(&platform_bus_type); if (error) device_unregister(&platform_bus); + of_platform_register_reconfig_notifier(); return error; } |
