summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2021-02-14 19:23:58 +0000
committerkettenis <kettenis@openbsd.org>2021-02-14 19:23:58 +0000
commitd96291e4fe468f2242e6ae66a6f18fcbf90462ee (patch)
tree303069a0a2f63dc689ad5309a2e82642d49b41a6
parentRaise match priority to beat syscon(4). (diff)
downloadwireguard-openbsd-d96291e4fe468f2242e6ae66a6f18fcbf90462ee.tar.xz
wireguard-openbsd-d96291e4fe468f2242e6ae66a6f18fcbf90462ee.zip
Enable clocks.
-rw-r--r--sys/arch/armv7/exynos/exdwusb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/armv7/exynos/exdwusb.c b/sys/arch/armv7/exynos/exdwusb.c
index 0c7ce3a00d2..37b2d4dbe41 100644
--- a/sys/arch/armv7/exynos/exdwusb.c
+++ b/sys/arch/armv7/exynos/exdwusb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exdwusb.c,v 1.2 2019/08/29 14:19:27 kettenis Exp $ */
+/* $OpenBSD: exdwusb.c,v 1.3 2021/02/14 19:23:58 kettenis Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
@@ -25,6 +25,7 @@
#include <arm/simplebus/simplebusvar.h>
#include <dev/ofw/openfirm.h>
+#include <dev/ofw/ofw_clock.h>
#include <dev/ofw/fdt.h>
struct exdwusb_softc {
@@ -56,5 +57,7 @@ exdwusb_attach(struct device *parent, struct device *self, void *aux)
struct exdwusb_softc *sc = (struct exdwusb_softc *)self;
struct fdt_attach_args *faa = aux;
+ clock_enable_all(faa->fa_node);
+
simplebus_attach(parent, &sc->sc_sbus.sc_dev, faa);
}