summaryrefslogtreecommitdiff
path: root/sys/arch/armv7
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-02-14 19:23:59 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-02-14 19:23:59 +0000
commit98680ec357a74227928388a90fdcb95f931110e6 (patch)
tree391f9cf8e6ded1c810715afd6f1fc25630b0aecd /sys/arch/armv7
parent6c230df924f2e79568d2ce91896ea2c2bdf7200a (diff)
Enable clocks.
Diffstat (limited to 'sys/arch/armv7')
-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);
}