]> git.itanic.dy.fi Git - linux-stable/commit
firmware: arm_ffa: Declare ffa_bus_type structure in the header
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 24 Oct 2023 10:57:15 +0000 (11:57 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 13 Nov 2023 11:51:26 +0000 (11:51 +0000)
commit3fad96e9b21bed214c1593d7d7fb3e40d1fbf6f4
treefd87f0e36fe103308494fe9ceee7a47c3b8be746
parentb85ea95d086471afb4ad062012a4d73cd328fa86
firmware: arm_ffa: Declare ffa_bus_type structure in the header

smatch reports:
drivers/firmware/arm_ffa/bus.c:108:17: warning:
symbol 'ffa_bus_type' was not declared. Should it be static?

ffa_bus_type is exported to be useful in the FF-A driver. So this
warning is not correct. However, declaring the ffa_bus_type structure
in the header like many other bus_types do already removes this warning.
So let us just do the same and get rid of the warning.

Link: https://lore.kernel.org/r/20231024105715.2369638-1-sudeep.holla@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
include/linux/arm_ffa.h