diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/pwm_fan.h | 4 | ||||
| -rw-r--r-- | include/linux/therm_est.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/platform_data/pwm_fan.h b/include/linux/platform_data/pwm_fan.h index cf35089ce..a5a874837 100644 --- a/include/linux/platform_data/pwm_fan.h +++ b/include/linux/platform_data/pwm_fan.h | |||
| @@ -36,4 +36,8 @@ struct pwm_fan_platform_data { | |||
| 36 | int tach_gpio; | 36 | int tach_gpio; |
| 37 | int pwm_gpio; | 37 | int pwm_gpio; |
| 38 | }; | 38 | }; |
| 39 | |||
| 40 | #if IS_BUILTIN(CONFIG_PWM_FAN) | ||
| 41 | bool is_fan_always_on(struct thermal_cooling_device *cdev); | ||
| 42 | #endif | ||
| 39 | #endif | 43 | #endif |
diff --git a/include/linux/therm_est.h b/include/linux/therm_est.h index 1e813e361..a321f91a4 100644 --- a/include/linux/therm_est.h +++ b/include/linux/therm_est.h | |||
| @@ -195,6 +195,7 @@ struct fan_dev_data { | |||
| 195 | 195 | ||
| 196 | bool continuous_gov; | 196 | bool continuous_gov; |
| 197 | bool is_tmargin; | 197 | bool is_tmargin; |
| 198 | bool is_always_on; | ||
| 198 | }; | 199 | }; |
| 199 | 200 | ||
| 200 | #define DEBUG 0 | 201 | #define DEBUG 0 |
