blob: fdad88ba0cc3831ecc8e82c4edecee3cd2a5846f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
diff --git a/systems/fbdev/Makefile.am b/systems/fbdev/Makefile.am
index 2911ad8..ce268de 100644
--- a/systems/fbdev/Makefile.am
+++ b/systems/fbdev/Makefile.am
@@ -41,7 +43,8 @@ libdirectfb_fbdev_la_SOURCES = \
libdirectfb_fbdev_la_LIBADD = \
$(top_builddir)/lib/direct/libdirect.la \
$(top_builddir)/lib/fusion/libfusion.la \
- $(top_builddir)/src/libdirectfb.la
+ $(top_builddir)/src/libdirectfb.la \
+ -luiomux
include $(top_srcdir)/rules/libobject.make
diff --git a/systems/fbdev/fbdev.c b/systems/fbdev/fbdev.c
index dd1c343..03e7361 100644
--- a/systems/fbdev/fbdev.c
+++ b/systems/fbdev/fbdev.c
@@ -93,6 +93,7 @@
#include "agp.h"
#include <core/core_system.h>
+#include <uiomux/uiomux.h>
DFB_CORE_SYSTEM( fbdev )
@@ -517,6 +518,9 @@ system_initialize( CoreDFB *core, void **data )
goto error;
}
+ uiomux_register(dfb_fbdev->framebuffer_base, shared->fix.smem_start,
+ shared->fix.smem_len);
+
if (ioctl( dfb_fbdev->fd, FBIOGET_VSCREENINFO, &shared->orig_var ) < 0) {
D_PERROR( "DirectFB/FBDev: "
"Could not get variable screen information!\n" );
|