aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/psci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/psci.h')
-rw-r--r--include/linux/psci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/psci.h b/include/linux/psci.h
index 6306ab10af18..f724fd8c78e8 100644
--- a/include/linux/psci.h
+++ b/include/linux/psci.h
@@ -47,10 +47,11 @@ static inline int psci_dt_init(void) { return 0; }
47#if defined(CONFIG_ARM_PSCI_FW) && defined(CONFIG_ACPI) 47#if defined(CONFIG_ARM_PSCI_FW) && defined(CONFIG_ACPI)
48int __init psci_acpi_init(void); 48int __init psci_acpi_init(void);
49bool __init acpi_psci_present(void); 49bool __init acpi_psci_present(void);
50bool __init acpi_psci_use_hvc(void); 50bool acpi_psci_use_hvc(void);
51#else 51#else
52static inline int psci_acpi_init(void) { return 0; } 52static inline int psci_acpi_init(void) { return 0; }
53static inline bool acpi_psci_present(void) { return false; } 53static inline bool acpi_psci_present(void) { return false; }
54static inline bool acpi_psci_use_hvc(void) {return false; }
54#endif 55#endif
55 56
56#endif /* __LINUX_PSCI_H */ 57#endif /* __LINUX_PSCI_H */