summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorJorge Maidana <jorgem.linux@gmail.com>2023-10-06 22:43:46 +0200
committerHelge Deller <deller@gmx.de>2023-10-16 23:19:34 +0200
commit0c37bffaaebe1733433b480d612282169632a31a (patch)
tree23224aeb5039fbca5a63e004c57d427ef8627ac0 /include/video
parentfbdev: sa1100fb: mark sa1100fb_init() static (diff)
downloadlinux-0c37bffaaebe1733433b480d612282169632a31a.tar.xz
linux-0c37bffaaebe1733433b480d612282169632a31a.zip
fbdev: uvesafb: Remove uvesafb_exec() prototype from include/video/uvesafb.h
uvesafb_exec() is a static function defined and called only in drivers/video/fbdev/uvesafb.c, remove the prototype from include/video/uvesafb.h. Fixes the warning: ./include/video/uvesafb.h:112:12: warning: 'uvesafb_exec' declared 'static' but never defined [-Wunused-function] when including '<video/uvesafb.h>' in an external program. Signed-off-by: Jorge Maidana <jorgem.linux@gmail.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/uvesafb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/video/uvesafb.h b/include/video/uvesafb.h
index 8d2a3bfc8dac..47d96e75e8ef 100644
--- a/include/video/uvesafb.h
+++ b/include/video/uvesafb.h
@@ -109,8 +109,6 @@ struct uvesafb_ktask {
u32 ack;
};
-static int uvesafb_exec(struct uvesafb_ktask *tsk);
-
#define UVESAFB_EXACT_RES 1
#define UVESAFB_EXACT_DEPTH 2