nuttx/drivers/thermal
wangjianyu3 a73ee73c78 Thermal/dummy: Fix depends error
1. cpufreq.h not found if cpufreq is not supported on some branches.
./thermal/thermal_dummy.c:25:10: fatal error: nuttx/cpufreq.h: No such file or directory
   25 | #include <nuttx/cpufreq.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.

2. debug.h is included by including <nuttx/cpufreq.h>, should not.
CC:  thermal/thermal_dummy.c thermal/thermal_dummy.c: In function ‘thermal_dummy_init’:
thermal/thermal_dummy.c:338:7: warning: implicit declaration of function ‘therr’ [-Wimplicit-function-declaration]
  338 |       therr("Register cooling device fan0 failed!\n");
      |

https://github.com/apache/nuttx/pull/12824
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-09-23 08:57:29 +08:00
..
Kconfig Thermal: Add dummy driver 2024-09-23 08:57:29 +08:00
Make.defs Thermal: Add dummy driver 2024-09-23 08:57:29 +08:00
thermal_core.c Thermal: Check trip type in thermal_zone_device_register(). 2024-09-23 08:57:29 +08:00
thermal_core.h Thermal: Add dummy driver 2024-09-23 08:57:29 +08:00
thermal_cpufreq_cooling.c Thermal: Support cpufreq cooling device 2024-09-23 08:57:29 +08:00
thermal_dummy.c Thermal/dummy: Fix depends error 2024-09-23 08:57:29 +08:00
thermal_procfs.c Thermal/procfs: Remove unnecessary nxmutex_unlock 2024-09-23 08:57:29 +08:00
thermal_step_wise.c Thermal/step_wise: Increase cooling state in case of "stable" trend and "hot" trip. 2024-09-23 08:57:29 +08:00