diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-09-21 15:57:04 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-09-21 15:57:04 +0000 |
commit | 03e1b50fbd6c6c20391973da7c33bc9989c30217 (patch) | |
tree | c1ecd2bce8c670e06376b655ad1673d3383eab4e | |
parent | 08b37f513f07ffbeb6a16a3c6746daa3b4fe0342 (diff) |
Enable thermal zone handling code.
-rw-r--r-- | sys/arch/arm/mainbus/mainbus.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/arm/mainbus/mainbus.c b/sys/arch/arm/mainbus/mainbus.c index bbe8f12385c..0ea71803e60 100644 --- a/sys/arch/arm/mainbus/mainbus.c +++ b/sys/arch/arm/mainbus/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.19 2017/09/11 05:38:51 jsg Exp $ */ +/* $OpenBSD: mainbus.c,v 1.20 2019/09/21 15:57:03 kettenis Exp $ */ /* * Copyright (c) 2016 Patrick Wildt <patrick@blueri.se> * Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org> @@ -24,6 +24,7 @@ #include <dev/ofw/openfirm.h> #include <dev/ofw/fdt.h> +#include <dev/ofw/ofw_thermal.h> #include <arm/mainbus/mainbus.h> @@ -140,6 +141,8 @@ mainbus_attach(struct device *parent, struct device *self, void *aux) /* Attach secondary CPUs. */ mainbus_attach_cpus(self, mainbus_match_secondary); + + thermal_init(); } /* |