diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-06-12 14:09:55 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-06-16 09:00:09 +0200 |
commit | 22e28f06df3bf63004e1579f5b1601069182fdde (patch) | |
tree | a202534455062fa7988e47428f2796f31b7411e7 | |
parent | 60ba94338047bb5410a3626ced3380afe9285ed8 (diff) |
drm: Do not include <linux/export.h>
Fix the compile-time error
drivers/gpu/drm/drm_pci.c: warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 7d95680d64ac ("scripts/misc-check: check unnecessary #include <linux/export.h> when W=1")
Reviewed-by: André Almeida <andrealmeid@igalia.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20250612121633.229222-2-tzimmermann@suse.de
-rw-r--r-- | drivers/gpu/drm/drm_pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c index c585f1e8803e..cb0f68d7f8ea 100644 --- a/drivers/gpu/drm/drm_pci.c +++ b/drivers/gpu/drm/drm_pci.c @@ -23,7 +23,6 @@ */ #include <linux/dma-mapping.h> -#include <linux/export.h> #include <linux/list.h> #include <linux/mutex.h> #include <linux/pci.h> |