X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Flinux%2Fthermal.h;h=328d6c0a907397960a15b6bd70fac769ee23bb93;hb=c8e3cdd349963815ccd675df4c38eca59247acfc;hp=1423eaff9ac3635c7d43ea6190606ec208a3a541;hpb=acb72fede655d6024631bc9a2a6ef1b8fca7eed0;p=firefly-linux-kernel-4.4.55.git diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 1423eaff9ac3..328d6c0a9073 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -157,6 +157,7 @@ struct thermal_attr { * @trip_hyst_attrs: attributes for trip points for sysfs: trip hysteresis * @devdata: private pointer for device private data * @trips: number of trip points the thermal zone supports + * @trips_disabled; bitmap for disabled trips * @passive_delay: number of milliseconds to wait between polls when * performing passive cooling. * @polling_delay: number of milliseconds to wait between polls when @@ -192,6 +193,7 @@ struct thermal_zone_device { struct thermal_attr *trip_hyst_attrs; void *devdata; int trips; + unsigned long trips_disabled; /* bitmap for disabled trips */ int passive_delay; int polling_delay; int temperature;