diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2004-09-26 06:39:35 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2004-09-26 06:39:35 +0000 |
| commit | fda7ada791b96f0b7df541e5227c1f90bf093663 (patch) | |
| tree | f6c70ecaed08b8fc1f4ac17bab24ceab4c0c4a9a /sys/dev | |
| parent | 0b6599ed2800dfe80fdc270cf11cd48458a35d7a (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpica/acpi_thermal.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c index 9a3cf34d43b6..7673bc221cfd 100644 --- a/sys/dev/acpica/acpi_thermal.c +++ b/sys/dev/acpica/acpi_thermal.c @@ -184,6 +184,8 @@ acpi_tz_attach(device_t dev) sc->tz_dev = dev; sc->tz_handle = acpi_get_handle(dev); sc->tz_requested = TZ_ACTIVE_NONE; + sc->tz_active = TZ_ACTIVE_NONE; + sc->tz_thflags = TZ_THFLAG_NONE; /* * Parse the current state of the thermal zone and build control @@ -509,9 +511,6 @@ acpi_tz_all_off(struct acpi_tz_softc *sc) * XXX revert any passive-cooling options. */ - sc->tz_active = TZ_ACTIVE_NONE; - sc->tz_thflags = TZ_THFLAG_NONE; - return_VOID; } #endif |
