linux-stable/drivers/staging/vc04_services/vchiq-mmal
Adrien Thierry f23f8a05a1 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>
2022-06-06 08:03:46 +02:00
..
Kconfig staging: bcm2835: fix vchiq_mmal dependencies 2020-12-07 15:07:24 +01:00
Makefile staging: vchiq: Move vchiq.h into include directory 2020-07-01 15:47:08 +02:00
mmal-common.h staging: vc04_services: rename BM2835 to BCM2835 in headers comments 2022-01-06 14:49:34 +01:00
mmal-encodings.h staging: vc04_services: rename BM2835 to BCM2835 in headers comments 2022-01-06 14:49:34 +01:00
mmal-msg-common.h staging: vc04_services: Re-use generic struct s32_fract 2022-05-05 23:19:14 +02:00
mmal-msg-format.h staging: vc04_services: Re-use generic struct s32_fract 2022-05-05 23:19:14 +02:00
mmal-msg-port.h staging: vc04_services: rename BM2835 to BCM2835 in headers comments 2022-01-06 14:49:34 +01:00
mmal-msg.h staging: vc04_services: rename BM2835 to BCM2835 in headers comments 2022-01-06 14:49:34 +01:00
mmal-parameters.h staging: vc04_services: Re-use generic struct s32_fract 2022-05-05 23:19:14 +02:00
mmal-vchiq.c staging: vchiq_arm: pass vchiq instance to 'vchiq_get_service_userdata' 2022-06-06 08:03:46 +02:00
mmal-vchiq.h staging: vc04_services: rename BM2835 to BCM2835 in headers comments 2022-01-06 14:49:34 +01:00