0c56bf73 parent e91c11b1a7f876c6f056d872eb210734150a1795 author Rafael J. Wysocki 1344210311 +0200 committer Rafael J. Wysocki 1346715363 +0200 PM / Runtime: Allow helpers to be called by early platform drivers Runtime PM helper functions, like pm_runtime_get_sync(), cannot be called by early platform device drivers, because the devices' power management locks are not initialized at that time. This is quite inconvenient, so modify early_platform_add_devices() to initialize the devices power management locks as appropriate and make sure that they won't be initialized more than once if an early platform device is going to be used as a regular one later. Signed-off-by: Rafael J. Wysocki ^æ…—