]>
Commit | Line | Data |
---|---|---|
a5e0454c UH |
1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | ||
3 | #ifndef __CPUIDLE_PSCI_H | |
4 | #define __CPUIDLE_PSCI_H | |
5 | ||
6 | #ifdef CONFIG_PM_GENERIC_DOMAINS_OF | |
7 | struct device __init *psci_dt_attach_cpu(int cpu); | |
8 | #else | |
9 | static inline struct device __init *psci_dt_attach_cpu(int cpu) { return NULL; } | |
10 | #endif | |
11 | ||
12 | #endif /* __CPUIDLE_PSCI_H */ |