Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | From 7a9298916fe892ddac5fe4e0a13a566b1636f542 Mon Sep 17 00:00:00 2001 |
| 2 | From: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> |
| 3 | Date: Thu, 13 Jan 2022 22:23:52 +0000 |
| 4 | Subject: [PATCH 21/32] firmware: arm_ffa: extern ffa_bus_type |
| 5 | |
| 6 | extern ffa_bus_type so that SP driver can use it in bus_find_device call. |
| 7 | |
| 8 | Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> |
| 9 | Change-Id: Ib7a6a563aa35627a545f82c796816a5f72c80d70 |
| 10 | Upstream-Status: Pending [Not submitted to upstream yet] |
| 11 | --- |
| 12 | include/linux/arm_ffa.h | 2 ++ |
| 13 | 1 file changed, 2 insertions(+) |
| 14 | |
| 15 | diff --git a/include/linux/arm_ffa.h b/include/linux/arm_ffa.h |
| 16 | index e5c76c1ef9ed..4eb7e03ca560 100644 |
| 17 | --- a/include/linux/arm_ffa.h |
| 18 | +++ b/include/linux/arm_ffa.h |
| 19 | @@ -88,6 +88,8 @@ const struct ffa_dev_ops *ffa_dev_ops_get(struct ffa_device *dev) |
| 20 | #define ffa_unregister(driver) \ |
| 21 | ffa_driver_unregister(driver) |
| 22 | |
| 23 | +extern struct bus_type ffa_bus_type; |
| 24 | + |
| 25 | /** |
| 26 | * module_ffa_driver() - Helper macro for registering a psa_ffa driver |
| 27 | * @__ffa_driver: ffa_driver structure |
| 28 | -- |
| 29 | 2.30.2 |
| 30 | |