diff options
author | ray <ray@FreeBSD.org> | 2013-11-05 23:12:53 +0000 |
---|---|---|
committer | ray <ray@FreeBSD.org> | 2013-11-05 23:12:53 +0000 |
commit | ae9d47ce63c821ab6f77073cc75f77806f135c51 (patch) | |
tree | 006475132773290310ee39b768f4cd0ea068a52e /sys/dev/fb | |
parent | 147123a2c629ce65206a328b466b2cb561d7cb60 (diff) | |
download | FreeBSD-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.c | 3 |
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) { |