summaryrefslogtreecommitdiff
path: root/sys/dev/video/fbdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/video/fbdev.c')
-rw-r--r--sys/dev/video/fbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/video/fbdev.c b/sys/dev/video/fbdev.c
index 70031a0..1f20ab6 100644
--- a/sys/dev/video/fbdev.c
+++ b/sys/dev/video/fbdev.c
@@ -75,7 +75,7 @@ fbdev_get_front(void)
static int
fbdev_init(void)
{
- dev = DEVICE_ALLOC();
+ dev = device_alloc();
dev->blocksize = 1;
dev->read = NULL;
dev->write = NULL;