summaryrefslogtreecommitdiffstats
path: root/include/linux/psci.h
diff options
context:
space:
mode:
authorJisheng Zhang2016-04-20 12:20:28 +0200
committerArnd Bergmann2016-04-25 23:47:44 +0200
commit21e8868e661ededd2c45c8ec27f6fd5354b88b71 (patch)
tree6ee0f8460347cee93278261afc1edfa53b9fb6dd /include/linux/psci.h
parentdrivers: firmware: psci: drop duplicate const from psci_of_match (diff)
downloadkernel-qcow2-linux-21e8868e661ededd2c45c8ec27f6fd5354b88b71.tar.gz
kernel-qcow2-linux-21e8868e661ededd2c45c8ec27f6fd5354b88b71.tar.xz
kernel-qcow2-linux-21e8868e661ededd2c45c8ec27f6fd5354b88b71.zip
drivers: firmware: psci: make two helper functions static
psci_power_state_loses_context() and psci_power_state_is_valid are only used internally now, so make them static. Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/psci.h')
-rw-r--r--include/linux/psci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/psci.h b/include/linux/psci.h
index 393efe2edf9a..bdea1cb5e1db 100644
--- a/include/linux/psci.h
+++ b/include/linux/psci.h
@@ -21,8 +21,6 @@
#define PSCI_POWER_STATE_TYPE_POWER_DOWN 1
bool psci_tos_resident_on(int cpu);
-bool psci_power_state_loses_context(u32 state);
-bool psci_power_state_is_valid(u32 state);
int psci_cpu_init_idle(unsigned int cpu);
int psci_cpu_suspend_enter(unsigned long index);