summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorAdrien Thierry <athierry@redhat.com>2022-05-18 22:11:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-06 09:03:45 +0300
commit813fa44c74225203d82a8f608ef524b2bd71c3df (patch)
tree8acf1ce14c0aeab4eb867b301b5c7e694584a941 /include/linux/stackprotector.h
parentd8d307e681f8bb0ef60ecc8b0e7762ab836cb1fc (diff)
downloadlinux-813fa44c74225203d82a8f608ef524b2bd71c3df.tar.xz
staging: vchiq_arm: get rid of global device structure
Get rid of the global g_dev structure. This is part of an effort to address TODO item "Get rid of all non essential global structures and create a proper per device structure" I chose to pass the vchiq_instance around instead of the device reference because in order to get rid of the 'vchiq_states' global array in the future, we will need another way to access the vchiq_state in the 'handle_to_service' function. Therefore, we will need to pass the vchiq_instance to it (or the vchiq_state), and also pass it to functions higher up in the caller chain, such as 'vchiq_bulk_transmit' and friends which are used in the bcm2835-audio consumer. Tested-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Adrien Thierry <athierry@redhat.com> Link: https://lore.kernel.org/r/20220518191126.60396-3-athierry@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions