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

Configure Feed

Select the types of activity you want to include in your feed.

fbdev/omap: Include <linux/export.h>

Fix the compile-time warnings

drivers/video/fbdev/omap/lcd_dma.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
drivers/video/fbdev/omap/lcdc.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
drivers/video/fbdev/omap/omapfb_main.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Fixes: a934a57a42f6 ("scripts/misc-check: check missing #include <linux/export.h> when W=1")
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20250612081738.197826-8-tzimmermann@suse.de

+5
+1
drivers/video/fbdev/omap/lcd_dma.c
··· 18 18 * Support functions for the OMAP internal DMA channels. 19 19 */ 20 20 21 + #include <linux/export.h> 21 22 #include <linux/module.h> 22 23 #include <linux/spinlock.h> 23 24 #include <linux/interrupt.h>
+2
drivers/video/fbdev/omap/lcdc.c
··· 5 5 * Copyright (C) 2004 Nokia Corporation 6 6 * Author: Imre Deak <imre.deak@nokia.com> 7 7 */ 8 + 8 9 #include <linux/module.h> 9 10 #include <linux/device.h> 11 + #include <linux/export.h> 10 12 #include <linux/interrupt.h> 11 13 #include <linux/spinlock.h> 12 14 #include <linux/err.h>
+2
drivers/video/fbdev/omap/omapfb_main.c
··· 11 11 * Dirk Behme <dirk.behme@de.bosch.com> - changes for 2.6 kernel API 12 12 * Texas Instruments - H3 support 13 13 */ 14 + 15 + #include <linux/export.h> 14 16 #include <linux/platform_device.h> 15 17 #include <linux/mm.h> 16 18 #include <linux/slab.h>