firmware: arm_ffa: Move constants to header file
authorWill Deacon <will@kernel.org>
Wed, 16 Nov 2022 17:03:24 +0000 (17:03 +0000)
committerWill Deacon <will@kernel.org>
Thu, 1 Dec 2022 15:51:31 +0000 (15:51 +0000)
commit229d58e31678dece365060c50a39a99a2b1dc729
tree2c2060882401dcd16660d0a46867527b312bff5a
parentf0c4d9fc9cc9462659728d168387191387e903cc
firmware: arm_ffa: Move constants to header file

FF-A function IDs and error codes will be needed in the hypervisor too,
so move to them to the header file where they can be shared. Rename the
version constants with an "FFA_" prefix so that they are less likely
to clash with other code in the tree.

Co-developed-by: Andrew Walbran <qwandor@google.com>
Signed-off-by: Andrew Walbran <qwandor@google.com>
Signed-off-by: Quentin Perret <qperret@google.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20221116170335.2341003-2-qperret@google.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/firmware/arm_ffa/driver.c
include/linux/arm_ffa.h