1
0
mirror of https://github.com/torvalds/linux.git synced 2024-12-12 22:23:55 +00:00
linux/drivers/thermal
Eduardo Valentin 3778ff5c70 thermal: cpu cooling: use const parameter while registering
There are predefined cpu_masks that are const data structures.
This patch changes the cpu cooling register function so that
those const cpu_masks can be used, without compilation warnings.

include/linux/cpumask.h

 * The following particular system cpumasks and operations manage
 * possible, present, active and online cpus.
 *
 *     cpu_possible_mask- has bit 'cpu' set iff cpu is populatable
 *     cpu_present_mask - has bit 'cpu' set iff cpu is populated
 *     cpu_online_mask  - has bit 'cpu' set iff cpu available to scheduler
 *     cpu_active_mask  - has bit 'cpu' set iff cpu available to migration
 *

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2012-11-22 15:59:47 +08:00
..
cpu_cooling.c thermal: cpu cooling: use const parameter while registering 2012-11-22 15:59:47 +08:00
db8500_cpufreq_cooling.c Thermal: Add ST-Ericsson DB8500 thermal driver. 2012-11-15 20:50:34 +08:00
db8500_thermal.c Thermal: Add ST-Ericsson DB8500 thermal driver. 2012-11-15 20:50:34 +08:00
exynos_thermal.c Thermal: Pass zone parameters as argument to tzd_register 2012-11-05 13:59:57 +08:00
fair_share.c thermal: fair_share: Add missing static storage class specifiers 2012-11-05 14:00:10 +08:00
Kconfig Thermal: Add ST-Ericsson DB8500 thermal driver. 2012-11-15 20:50:34 +08:00
Makefile Thermal: Add ST-Ericsson DB8500 thermal driver. 2012-11-15 20:50:34 +08:00
rcar_thermal.c thermal: rcar_thermal: remove explicitly used devm_kfree/iounap() 2012-11-07 11:35:46 +08:00
spear_thermal.c Thermal: Pass zone parameters as argument to tzd_register 2012-11-05 13:59:57 +08:00
step_wise.c thermal: step_wise: Add missing static storage class specifiers 2012-11-05 14:00:10 +08:00
thermal_core.h Thermal: Move thermal_instance to thermal_core.h 2012-11-05 13:56:32 +08:00
thermal_sys.c Thermal: Fix oops and unlocking in thermal_sys.c 2012-11-05 14:00:10 +08:00
user_space.c thermal: user_space: Add missing static storage class specifiers 2012-11-05 14:00:11 +08:00