summaryrefslogtreecommitdiffstats
path: root/sys/dev/fb
diff options
context:
space:
mode:
authorray <ray@FreeBSD.org>2013-11-05 23:12:53 +0000
committerray <ray@FreeBSD.org>2013-11-05 23:12:53 +0000
commitae9d47ce63c821ab6f77073cc75f77806f135c51 (patch)
tree006475132773290310ee39b768f4cd0ea068a52e /sys/dev/fb
parent147123a2c629ce65206a328b466b2cb561d7cb60 (diff)
downloadFreeBSD-src-ae9d47ce63c821ab6f77073cc75f77806f135c51.zip
FreeBSD-src-ae9d47ce63c821ab6f77073cc75f77806f135c51.tar.gz
Allow to use fb_probe() outside of driver.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/dev/fb')
-rw-r--r--sys/dev/fb/fbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fb/fbd.c b/sys/dev/fb/fbd.c
index 44d752c..40433ef 100644
--- a/sys/dev/fb/fbd.c
+++ b/sys/dev/fb/fbd.c
@@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
+#include <dev/vt/vt.h>
#include <dev/vt/hw/fb/vt_fb.h>
#include "fb_if.h"
@@ -206,7 +207,7 @@ vt_fb_indir_copy(struct fb_info *sc, uint32_t offset_to, uint32_t offset_from,
sc->copy(sc->fb_priv, offset_to, offset_from, size);
}
-static int
+int
fb_probe(struct fb_info *info)
{
OpenPOWER on IntegriCloud