diff options
| author | Arnd Bergmann <[email protected]> | 2023-04-17 21:04:11 +0000 |
|---|---|---|
| committer | Inki Dae <[email protected]> | 2023-05-15 05:10:34 +0000 |
| commit | 2ef0785b30bd6549ddbc124979f1b6596e065ae2 (patch) | |
| tree | ff7015dbd392faab46ba9c00f8aa0703fccf9447 /lib/string_helpers.c | |
| parent | Merge tag 'amd-drm-fixes-6.4-2023-05-11' of https://gitlab.freedesktop.org/ag... (diff) | |
| download | kernel-2ef0785b30bd6549ddbc124979f1b6596e065ae2.tar.gz kernel-2ef0785b30bd6549ddbc124979f1b6596e065ae2.zip | |
drm/exynos: fix g2d_open/close helper function definitions
The empty stub functions are defined as global functions, which
causes a warning because of missing prototypes:
drivers/gpu/drm/exynos/exynos_drm_g2d.h:37:5: error: no previous prototype for 'g2d_open'
drivers/gpu/drm/exynos/exynos_drm_g2d.h:42:5: error: no previous prototype for 'g2d_close'
Mark them as 'static inline' to avoid the warning and to make
them behave as intended.
Fixes: eb4d9796fa34 ("drm/exynos: g2d: Convert to driver component API")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
