aboutsummaryrefslogtreecommitdiffstats
path: root/fbtools.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-04-16 13:43:59 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-04-16 13:43:59 +0200
commit63b5412f8c410694e8c67452452273ae8a9a6871 (patch)
tree541e7568118c16508465c512df08ab4a9ea4f971 /fbtools.c
parent1bc4ff02dc49e8860414317bab577eee88fd3ad0 (diff)
downloadfbida-63b5412f8c410694e8c67452452273ae8a9a6871.tar.gz
resume display tweak
Diffstat (limited to 'fbtools.c')
-rw-r--r--fbtools.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fbtools.c b/fbtools.c
index 6c2d52b..a459585 100644
--- a/fbtools.c
+++ b/fbtools.c
@@ -185,10 +185,11 @@ static void fb_suspend_display(void)
{
}
-static void fb_resume_display(void)
+static int fb_resume_display(void)
{
ioctl(fb,FBIOPAN_DISPLAY,&fb_var);
fb_set_palette();
+ return 0;
}
static void fb_cleanup_display(void)