summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2019-01-30 00:55:04 +0000
committerjmcneill <jmcneill@NetBSD.org>2019-01-30 00:55:04 +0000
commite1cc669485686923571beb833d0ec0d098a3c87f (patch)
tree53cd13bb91f2451974d4097bc9f7a446ab9c176f /sys/dev/fdt
parentf5dee2cff0d7b171a2239fc9ba2973ee17c614ea (diff)
Call genfb_cnattach when WSDISPLAY_MULTICONS is defined
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/simplefb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdt/simplefb.c b/sys/dev/fdt/simplefb.c
index d1fa56cfaa2..9c6a792f69f 100644
--- a/sys/dev/fdt/simplefb.c
+++ b/sys/dev/fdt/simplefb.c
@@ -1,4 +1,4 @@
-/* $NetBSD: simplefb.c,v 1.6 2018/07/23 00:51:40 macallan Exp $ */
+/* $NetBSD: simplefb.c,v 1.7 2019/01/30 00:55:04 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill@invisible.ca>
@@ -29,7 +29,7 @@
#include "opt_wsdisplay_compat.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: simplefb.c,v 1.6 2018/07/23 00:51:40 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: simplefb.c,v 1.7 2019/01/30 00:55:04 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -199,6 +199,7 @@ simplefb_attach_genfb(struct simplefb_softc *sc)
#ifdef WSDISPLAY_MULTICONS
const bool is_console = true;
+ genfb_cnattach();
#else
const bool is_console = phandle == simplefb_console_phandle;
if (is_console)