aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-06-12 12:09:55 +0000
committerThomas Zimmermann <[email protected]>2025-06-16 07:00:09 +0000
commit22e28f06df3bf63004e1579f5b1601069182fdde (patch)
treea202534455062fa7988e47428f2796f31b7411e7
parentdrm/vkms: Compile all tests with CONFIG_DRM_VKMS_KUNIT_TEST (diff)
downloadkernel-22e28f06df3bf63004e1579f5b1601069182fdde.tar.gz
kernel-22e28f06df3bf63004e1579f5b1601069182fdde.zip
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 <[email protected]> Fixes: 7d95680d64ac ("scripts/misc-check: check unnecessary #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]
-rw-r--r--drivers/gpu/drm/drm_pci.c1
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>