diff options
author | 2023-05-19 10:43:54 +1000 | |
---|---|---|
committer | 2023-05-19 10:44:07 +1000 | |
commit | 90facc4d46301c4fb188899627e3e79b597f83bc (patch) | |
tree | 85d77f1bc5a338a48cb83fcf60e660d6ac325d67 | |
parent | Linux 6.4-rc2 (diff) | |
parent | drm/exynos: fix g2d_open/close helper function definitions (diff) | |
download | wireguard-linux-90facc4d46301c4fb188899627e3e79b597f83bc.tar.xz wireguard-linux-90facc4d46301c4fb188899627e3e79b597f83bc.zip |
Merge tag 'exynos-drm-fixes-for-v6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-fixes
Just one fixup to exynos_drm_g2d module.
- Fix below build warning by marking them as 'static inline'
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'
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Inki Dae <inki.dae@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230515083943.43933-1-inki.dae@samsung.com
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_g2d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.h b/drivers/gpu/drm/exynos/exynos_drm_g2d.h index 74ea3c26dead..1a5ae781b56c 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_g2d.h +++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.h @@ -34,11 +34,11 @@ static inline int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data, return -ENODEV; } -int g2d_open(struct drm_device *drm_dev, struct drm_file *file) +static inline int g2d_open(struct drm_device *drm_dev, struct drm_file *file) { return 0; } -void g2d_close(struct drm_device *drm_dev, struct drm_file *file) +static inline void g2d_close(struct drm_device *drm_dev, struct drm_file *file) { } #endif |