diff options
| author | Adrien Thierry <athierry@redhat.com> | 2022-05-18 22:11:17 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-06 09:03:46 +0300 |
| commit | f23f8a05a13bf9ea3e5143cc7195c5f91697d0f8 (patch) | |
| tree | 1d6cef1a93b7d832eca7cd2305999ad29afc2a64 /include/linux/stringify.h | |
| parent | bad44825fbf5ad9e97fec09d96c74d8a91685d2a (diff) | |
| download | linux-f23f8a05a13bf9ea3e5143cc7195c5f91697d0f8.tar.xz | |
staging: vchiq_arm: pass vchiq instance to 'vchiq_get_service_userdata'
In order to remove the 'vchiq_states' global array, we need to pass the
vchiq_instance reference to the 'handle_to_service' function, as well as
to all functions that call 'handle_to_service'. This will allow
accessing the vchiq state through the vchiq instance instead of through
the global array.
'handle_to_service' is called by 'vchiq_get_service_userdata'.
Therefore, pass the vchiq instance reference to it.
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Adrien Thierry <athierry@redhat.com>
Link: https://lore.kernel.org/r/20220518191126.60396-7-athierry@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
