]> git.ipfire.org Git - thirdparty/linux.git/commit
fbdev/sisfb: Unexport symbols
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 12 Jun 2025 08:16:35 +0000 (10:16 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 16 Jun 2025 07:08:06 +0000 (09:08 +0200)
commitc8f796f6e6e97168ffa49deab0dd32a127994f74
tree6d93eed47864aca3c00621b5592d46b20e204896
parent9bf9f98d00df53b32b83e03c0e7f06e8a0fdaf0b
fbdev/sisfb: Unexport symbols

Fix the compile-time warning

  drivers/video/fbdev/sis/sis_main.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing

The affected symbols are not used outside of their module. Some of
the symbols are not used anywhere, so remove the functions entirely.
Also remove the related, but unused, define SISFB_HAVE_MALLOC_NEW.

v2:
- remove unused functions (Helge)

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-13-tzimmermann@suse.de
drivers/video/fbdev/sis/sis.h
drivers/video/fbdev/sis/sis_main.c
include/video/sisfb.h