Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
[cascardo/linux.git] / include / linux / thermal.h
index 76d0fe8..91b3481 100644 (file)
@@ -95,6 +95,7 @@ struct thermal_cooling_device {
        void *devdata;
        const struct thermal_cooling_device_ops *ops;
        bool updated; /* true if the cooling device does not need update */
+       struct mutex lock; /* protect thermal_instances list */
        struct list_head thermal_instances;
        struct list_head node;
 };