gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / cpuidle / cpuidle-psci.h
blob7299a04dd4672699c2ef3fed2f76c5f7cfe4210f
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __CPUIDLE_PSCI_H
4 #define __CPUIDLE_PSCI_H
6 struct device_node;
8 void psci_set_domain_state(u32 state);
9 int __init psci_dt_parse_state_node(struct device_node *np, u32 *state);
11 #ifdef CONFIG_PM_GENERIC_DOMAINS_OF
12 struct device __init *psci_dt_attach_cpu(int cpu);
13 #else
14 static inline struct device __init *psci_dt_attach_cpu(int cpu) { return NULL; }
15 #endif
17 #endif /* __CPUIDLE_PSCI_H */