]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / thermal: remove const from thermal_zone_device_ops declaration
authorEmil Goode <emilgoode@gmail.com>
Tue, 7 Jan 2014 16:24:55 +0000 (17:24 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Jan 2014 14:01:28 +0000 (15:01 +0100)
commitb72f551b0c84efb0ec2f3d3493f8ac0971662d9b
tree0841034949a17025af507db16d62b58e6d7308b4
parentd0ccbc1e260ac80209bd44ec3dd05b26b0d36dd8
ACPI / thermal: remove const from thermal_zone_device_ops declaration

The following commit introduced the requirement to not declare
thermal_zone_device_ops structs as const in order to allow
changing the .get_temp callback.

commit 4e5e4705bf69ea450f58fc709ac5888f321a9299
Author: Eduardo Valentin <eduardo.valentin@ti.com>
Date:   Wed Jul 3 15:35:39 2013 -0400

    thermal: introduce device tree parser

Modify acpi_thermal_zone_ops to follow the new requirement.

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
[rjw: Changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/thermal.c