From: kettenis Date: Sun, 14 Feb 2021 19:23:58 +0000 (+0000) Subject: Enable clocks. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d96291e4fe468f2242e6ae66a6f18fcbf90462ee;p=openbsd Enable clocks. --- 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 * @@ -25,6 +25,7 @@ #include #include +#include #include 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); }