Skip to content

Commit 7300225

Browse files
committed
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: a934a57 ("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
1 parent a93f45d commit 7300225

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

drivers/video/fbdev/omap/lcd_dma.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* Support functions for the OMAP internal DMA channels.
1919
*/
2020

21+
#include <linux/export.h>
2122
#include <linux/module.h>
2223
#include <linux/spinlock.h>
2324
#include <linux/interrupt.h>

drivers/video/fbdev/omap/lcdc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
* Copyright (C) 2004 Nokia Corporation
66
* Author: Imre Deak <imre.deak@nokia.com>
77
*/
8+
89
#include <linux/module.h>
910
#include <linux/device.h>
11+
#include <linux/export.h>
1012
#include <linux/interrupt.h>
1113
#include <linux/spinlock.h>
1214
#include <linux/err.h>

drivers/video/fbdev/omap/omapfb_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* Dirk Behme <dirk.behme@de.bosch.com> - changes for 2.6 kernel API
1212
* Texas Instruments - H3 support
1313
*/
14+
15+
#include <linux/export.h>
1416
#include <linux/platform_device.h>
1517
#include <linux/mm.h>
1618
#include <linux/slab.h>

0 commit comments

Comments
 (0)