diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/thermal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 7dbebea1ec31..2107d1bb84af 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c | |||
@@ -845,7 +845,7 @@ static int acpi_thermal_register_thermal_zone(struct acpi_thermal *tz) | |||
845 | 845 | ||
846 | if (tz->trips.passive.flags.valid) | 846 | if (tz->trips.passive.flags.valid) |
847 | tz->thermal_zone = | 847 | tz->thermal_zone = |
848 | thermal_zone_device_register("acpitz", trips, tz, | 848 | thermal_zone_device_register("acpitz", trips, 0, tz, |
849 | &acpi_thermal_zone_ops, | 849 | &acpi_thermal_zone_ops, |
850 | tz->trips.passive.tc1, | 850 | tz->trips.passive.tc1, |
851 | tz->trips.passive.tc2, | 851 | tz->trips.passive.tc2, |
@@ -853,7 +853,7 @@ static int acpi_thermal_register_thermal_zone(struct acpi_thermal *tz) | |||
853 | tz->polling_frequency*100); | 853 | tz->polling_frequency*100); |
854 | else | 854 | else |
855 | tz->thermal_zone = | 855 | tz->thermal_zone = |
856 | thermal_zone_device_register("acpitz", trips, tz, | 856 | thermal_zone_device_register("acpitz", trips, 0, tz, |
857 | &acpi_thermal_zone_ops, | 857 | &acpi_thermal_zone_ops, |
858 | 0, 0, 0, | 858 | 0, 0, 0, |
859 | tz->polling_frequency*100); | 859 | tz->polling_frequency*100); |