Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

-1
-1
drivers/gpu/drm/drm_pci.c
··· 23 23 */ 24 24 25 25 #include <linux/dma-mapping.h> 26 - #include <linux/export.h> 27 26 #include <linux/list.h> 28 27 #include <linux/mutex.h> 29 28 #include <linux/pci.h>