]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firmware: arm_ffa: Move the function ffa_features() earlier
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 20 Aug 2024 14:27:56 +0000 (15:27 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 20 Aug 2024 14:40:44 +0000 (15:40 +0100)
commitd37fff98262ddca6b6ef3b63f378136c04067c64
tree83b5dbfe665b2c567c87514cba1ecc53ef514003
parent7c432a18ad216b4f7b08e93287586d60e12a3b7b
firmware: arm_ffa: Move the function ffa_features() earlier

We need to use ffa_features() in ffa_partition_probe() to detect if
the newer FFA_PARTITION_INFO_GET_REGS API is supported in the platform
or not. To avoid unnecessary forward declaration within the file, let
us just move this ffa_features() earlier.

No funtional change.

Message-Id: <20240820-ffa_v1-2-v2-3-18c0c5f3c65e@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_ffa/driver.c