summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-01-01 15:56:20 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-01-01 15:56:20 +0000
commit6559356b7b391c2fac9db115c401beac9971dbcb (patch)
tree76c2a75db80b31ed06d94cb9dbdedb5d44118b91 /sys/dev/fdt
parentcfcad1d390273c0d49132ec5c1accf3b6ed72447 (diff)
Set assigned-clocks.
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/rktemp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdt/rktemp.c b/sys/dev/fdt/rktemp.c
index cc0922236a6..9c2a88be9b7 100644
--- a/sys/dev/fdt/rktemp.c
+++ b/sys/dev/fdt/rktemp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rktemp.c,v 1.3 2018/02/26 22:37:10 kettenis Exp $ */
+/* $OpenBSD: rktemp.c,v 1.4 2019/01/01 15:56:19 kettenis Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
@@ -277,6 +277,7 @@ rktemp_attach(struct device *parent, struct device *self, void *aux)
pinctrl_byname(node, "init");
+ clock_set_assigned(node);
clock_enable(node, "tsadc");
clock_enable(node, "apb_pclk");