Merge branch 'drivers/psci2' into next/drivers
* drivers/psci2: drivers: psci: make PSCI 1.0 functions initialization version dependent Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
056a72a559
@ -347,9 +347,10 @@ static int __init psci_probe(void)
|
||||
|
||||
psci_init_migrate();
|
||||
|
||||
psci_init_cpu_suspend();
|
||||
|
||||
psci_init_system_suspend();
|
||||
if (PSCI_VERSION_MAJOR(ver) >= 1) {
|
||||
psci_init_cpu_suspend();
|
||||
psci_init_system_suspend();
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user