linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/14] fbdev: Fix warnings related to including <linux/export.h>
@ 2025-06-12  8:16 Thomas Zimmermann
  2025-06-12  8:16 ` [PATCH v2 01/14] fbdev: Remove trailing whitespaces Thomas Zimmermann
                   ` (13 more replies)
  0 siblings, 14 replies; 23+ messages in thread
From: Thomas Zimmermann @ 2025-06-12  8:16 UTC (permalink / raw)
  To: deller, soci, simona, linux, FlorianSchandinat, alchark, krzk
  Cc: linux-fbdev, dri-devel, linux-arm-kernel, linux-omap,
	Thomas Zimmermann

Some source files in fbdev do not include <linux/export.h> properly;
others do when they don't have to. The build scripts warn about these
cases.

Clean up to fix the related warnings. While at it, also fix trailing
whitespaces in the affected files.

v2:
- remove unused functions (Helge)

Thomas Zimmermann (14):
  fbdev: Remove trailing whitespaces
  fbdev: Include <linux/export.h>
  fbdev/c2p: Include <linux/export.h>
  fbdev/cyber2000fb: Unexport symbols
  fbdev/matroxfb: Remove trailing whitespaces
  fbdev/matroxfb: Include <linux/export.h>
  fbdev/omap: Include <linux/export.h>
  fbdev/omap2: Include <linux/export.h>
  fbdev/omap2: Do not include <linux/export.h>
  fbdev/mb862xx: Do not include <linux/export.h>
  fbdev/pxafb: Unexport symbol
  fbdev/sisfb: Unexport symbols
  fbdev/viafb: Include <linux/export.h>
  fbdev/viafb: Do not include <linux/export.h>

 drivers/video/fbdev/c2p_iplan2.c              |  1 +
 drivers/video/fbdev/c2p_planar.c              |  1 +
 drivers/video/fbdev/core/cfbcopyarea.c        |  2 +
 drivers/video/fbdev/core/cfbfillrect.c        |  2 +
 drivers/video/fbdev/core/cfbimgblt.c          |  2 +
 drivers/video/fbdev/core/fb_ddc.c             |  1 +
 drivers/video/fbdev/core/fb_defio.c           |  1 +
 drivers/video/fbdev/core/fb_io_fops.c         |  1 +
 drivers/video/fbdev/core/fb_sys_fops.c        |  2 +
 drivers/video/fbdev/core/fbcmap.c             |  1 +
 drivers/video/fbdev/core/fbcon.c              |  1 +
 drivers/video/fbdev/core/fbmon.c              |  2 +
 drivers/video/fbdev/core/modedb.c             |  1 +
 drivers/video/fbdev/core/svgalib.c            |  1 +
 drivers/video/fbdev/core/syscopyarea.c        |  2 +
 drivers/video/fbdev/core/sysfillrect.c        |  2 +
 drivers/video/fbdev/core/sysimgblt.c          |  2 +
 drivers/video/fbdev/cyber2000fb.c             | 36 -----------
 drivers/video/fbdev/cyber2000fb.h             |  2 -
 drivers/video/fbdev/macmodes.c                |  3 +-
 drivers/video/fbdev/matrox/g450_pll.c         | 26 ++++----
 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 47 +++++++-------
 drivers/video/fbdev/matrox/matroxfb_Ti3026.c  |  1 +
 drivers/video/fbdev/matrox/matroxfb_accel.c   |  2 +
 drivers/video/fbdev/matrox/matroxfb_base.c    |  1 +
 drivers/video/fbdev/matrox/matroxfb_g450.c    | 62 ++++++++++---------
 drivers/video/fbdev/matrox/matroxfb_misc.c    | 21 ++++---
 drivers/video/fbdev/mb862xx/mb862xx-i2c.c     |  1 -
 drivers/video/fbdev/omap/lcd_dma.c            |  1 +
 drivers/video/fbdev/omap/lcdc.c               |  2 +
 drivers/video/fbdev/omap/omapfb_main.c        |  2 +
 drivers/video/fbdev/omap2/omapfb/dss/apply.c  |  1 +
 drivers/video/fbdev/omap2/omapfb/dss/core.c   |  1 +
 .../fbdev/omap2/omapfb/dss/dispc-compat.c     |  1 +
 .../video/fbdev/omap2/omapfb/dss/display.c    |  1 +
 drivers/video/fbdev/omap2/omapfb/dss/dpi.c    |  1 -
 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c |  1 +
 .../fbdev/omap2/omapfb/dss/dss_features.c     |  1 +
 .../video/fbdev/omap2/omapfb/dss/manager.c    |  1 +
 drivers/video/fbdev/omap2/omapfb/dss/output.c |  1 +
 .../video/fbdev/omap2/omapfb/dss/overlay.c    |  1 +
 drivers/video/fbdev/omap2/omapfb/dss/sdi.c    |  1 -
 drivers/video/fbdev/omap2/omapfb/dss/venc.c   |  1 +
 .../video/fbdev/omap2/omapfb/omapfb-ioctl.c   |  1 -
 drivers/video/fbdev/omap2/omapfb/vrfb.c       |  1 +
 drivers/video/fbdev/pxafb.c                   | 17 +----
 drivers/video/fbdev/sbuslib.c                 |  1 +
 drivers/video/fbdev/sis/sis.h                 |  2 -
 drivers/video/fbdev/sis/sis_main.c            | 25 --------
 drivers/video/fbdev/via/via-core.c            |  1 +
 drivers/video/fbdev/via/via-gpio.c            |  1 -
 drivers/video/fbdev/via/via_i2c.c             |  1 +
 drivers/video/fbdev/wmt_ge_rops.c             |  1 +
 include/linux/platform_data/video-pxafb.h     |  1 -
 include/video/sisfb.h                         |  6 --
 55 files changed, 134 insertions(+), 168 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2025-06-12 21:29 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-12  8:16 [PATCH v2 00/14] fbdev: Fix warnings related to including <linux/export.h> Thomas Zimmermann
2025-06-12  8:16 ` [PATCH v2 01/14] fbdev: Remove trailing whitespaces Thomas Zimmermann
2025-06-12  8:16 ` [PATCH v2 02/14] fbdev: Include <linux/export.h> Thomas Zimmermann
2025-06-12  8:16 ` [PATCH v2 03/14] fbdev/c2p: " Thomas Zimmermann
2025-06-12  8:16 ` [PATCH v2 04/14] fbdev/cyber2000fb: Unexport symbols Thomas Zimmermann
2025-06-12 21:19   ` Helge Deller
2025-06-12  8:16 ` [PATCH v2 05/14] fbdev/matroxfb: Remove trailing whitespaces Thomas Zimmermann
2025-06-12  8:16 ` [PATCH v2 06/14] fbdev/matroxfb: Include <linux/export.h> Thomas Zimmermann
2025-06-12  8:16 ` [PATCH v2 07/14] fbdev/omap: " Thomas Zimmermann
2025-06-12  8:16 ` [PATCH v2 08/14] fbdev/omap2: " Thomas Zimmermann
2025-06-12 21:21   ` Helge Deller
2025-06-12  8:16 ` [PATCH v2 09/14] fbdev/omap2: Do not include <linux/export.h> Thomas Zimmermann
2025-06-12 21:22   ` Helge Deller
2025-06-12  8:16 ` [PATCH v2 10/14] fbdev/mb862xx: " Thomas Zimmermann
2025-06-12 21:23   ` Helge Deller
2025-06-12  8:16 ` [PATCH v2 11/14] fbdev/pxafb: Unexport symbol Thomas Zimmermann
2025-06-12 21:24   ` Helge Deller
2025-06-12  8:16 ` [PATCH v2 12/14] fbdev/sisfb: Unexport symbols Thomas Zimmermann
2025-06-12 21:25   ` Helge Deller
2025-06-12  8:16 ` [PATCH v2 13/14] fbdev/viafb: Include <linux/export.h> Thomas Zimmermann
2025-06-12 21:26   ` Helge Deller
2025-06-12  8:16 ` [PATCH v2 14/14] fbdev/viafb: Do not include <linux/export.h> Thomas Zimmermann
2025-06-12 21:29   ` Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).