diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-02-09 16:56:33 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-02-14 09:42:01 +0100 |
commit | d315bdbfebd517cf5efabf666c8099e027ef666f (patch) | |
tree | 1ce230dddddec2c86e2c5b53d891c7206de5e780 /sound/soc/spear | |
parent | 593504ba3ee36bb9e5c7e5cbcf13986817f4d8d8 (diff) |
drm/gem-shmem: Set vm_ops in static initializer
Initialize default vm_ops in static initialization of the GEM SHMEM funcs,
instead of the mmap code. It's simply better style. GEM helpers will later
set a VMA's vm_ops from the default automatically.
v2:
* also update the drivers that build upon GEM SHMEM
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220209155634.3994-2-tzimmermann@suse.de
Diffstat (limited to 'sound/soc/spear')
0 files changed, 0 insertions, 0 deletions