mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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: a934a57a42
("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
18 lines
363 B
C
18 lines
363 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* sisfb.h - definitions for the SiS framebuffer driver
|
|
*
|
|
* Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria.
|
|
*/
|
|
#ifndef _LINUX_SISFB_H_
|
|
#define _LINUX_SISFB_H_
|
|
|
|
|
|
#include <linux/pci.h>
|
|
#include <uapi/video/sisfb.h>
|
|
|
|
#define UNKNOWN_VGA 0
|
|
#define SIS_300_VGA 1
|
|
#define SIS_315_VGA 2
|
|
|
|
#endif
|