summaryrefslogtreecommitdiff
path: root/include/linux/psci.h
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2020-05-18 10:12:20 +0100
committerWill Deacon <will@kernel.org>2020-05-20 19:10:37 +0100
commitf2ae97062a48b114bcf8fb2e99574d9ed2c2cd1b (patch)
tree15ae441ab539114219be045bc40663142f23cfe3 /include/linux/psci.h
parentad5a57dfe434b02ab28852703d7ad5510998ccef (diff)
firmware: smccc: Refactor SMCCC specific bits into separate file
In order to add newer SMCCC v1.1+ functionality and to avoid cluttering PSCI firmware driver with SMCCC bits, let us move the SMCCC specific details under drivers/firmware/smccc/smccc.c We can also drop conduit and smccc_version from psci_operations structure as SMCCC was the sole user and now it maintains those. No functionality change in this patch though. Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Tested-by: Etienne Carriere <etienne.carriere@st.com> Reviewed-by: Etienne Carriere <etienne.carriere@st.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20200518091222.27467-6-sudeep.holla@arm.com Signed-off-by: Will Deacon <will@kernel.org>
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 29bd0671e5bb..14ad9b9ebcd6 100644
--- a/include/linux/psci.h
+++ b/include/linux/psci.h
@@ -30,8 +30,6 @@ struct psci_operations {
int (*affinity_info)(unsigned long target_affinity,
unsigned long lowest_affinity_level);
int (*migrate_info_type)(void);
- enum arm_smccc_conduit conduit;
- u32 smccc_version;
};
extern struct psci_operations psci_ops;