diff options
| author | Thomas Zimmermann <[email protected]> | 2025-06-12 12:10:00 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2025-06-16 07:02:35 +0000 |
| commit | 714b79f7f416eae2b6d7d3b747deb7a498b4b87f (patch) | |
| tree | 901431335e951cc09a6ae3a2c81dec4cca4a79ae /drivers/gpu/drm/drm_gem.c | |
| parent | drm/display: Include <linux/export.h> (diff) | |
| download | kernel-714b79f7f416eae2b6d7d3b747deb7a498b4b87f.tar.gz kernel-714b79f7f416eae2b6d7d3b747deb7a498b4b87f.zip | |
drm/gem: Include <linux/export.h>
Fix the compile-time warnings
drivers/gpu/drm/drm_gem.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
drivers/gpu/drm/drm_gem_atomic_helper.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
drivers/gpu/drm/drm_gem_framebuffer_helper.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
drivers/gpu/drm/drm_gem_ttm_helper.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
drivers/gpu/drm/drm_gem_vram_helper.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
Signed-off-by: Thomas Zimmermann <[email protected]>
Fixes: a934a57a42f6 ("scripts/misc-check: check missing #include <linux/export.h> when W=1")
Reviewed-by: André Almeida <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
| -rw-r--r-- | drivers/gpu/drm/drm_gem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index a0a3b6baa569..19d50d254fe6 100644 --- a/drivers/gpu/drm/drm_gem.c +++ b/drivers/gpu/drm/drm_gem.c @@ -26,6 +26,7 @@ */ #include <linux/dma-buf.h> +#include <linux/export.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/iosys-map.h> |
