diff options
| author | Adrien Thierry <athierry@redhat.com> | 2022-05-18 22:11:14 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-06 09:03:46 +0300 |
| commit | 726e79f8a64891552ffe272e05f49ed9710fca89 (patch) | |
| tree | 584648a7aea7e9c44fd490b02e3c14508881ea2b /include/linux | |
| parent | 813fa44c74225203d82a8f608ef524b2bd71c3df (diff) | |
| download | linux-726e79f8a64891552ffe272e05f49ed9710fca89.tar.xz | |
staging: vchiq_arm: pass vchiq instance to service callbacks
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 'service_callback'. Therefore, pass the
vchiq instance reference to 'service_callback'. This also requires
adding the vchiq instance reference to the service callbacks prototype,
and update all other callbacks accordingly.
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Adrien Thierry <athierry@redhat.com>
Link: https://lore.kernel.org/r/20220518191126.60396-4-athierry@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
