]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/thermal.h
drivers: thermal: make usage of CONFIG_THERMAL_HWMON optional
[mirror_ubuntu-bionic-kernel.git] / include / linux / thermal.h
index a386a1cbb6e1c912667ef7433ea608a003832940..b4a975f25be0ff087a82a2696d818f7fd12284e3 100644 (file)
@@ -214,6 +214,14 @@ struct thermal_bind_params {
 /* Structure to define Thermal Zone parameters */
 struct thermal_zone_params {
        char governor_name[THERMAL_NAME_LENGTH];
+
+       /*
+        * a boolean to indicate if the thermal to hwmon sysfs interface
+        * is required. when no_hwmon == false, a hwmon sysfs interface
+        * will be created. when no_hwmon == true, nothing will be done
+        */
+       bool no_hwmon;
+
        int num_tbps;   /* Number of tbp entries */
        struct thermal_bind_params *tbp;
 };