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
..
2024-09-20 13:28:03 +02:00
2023-09-22 13:51:00 +08:00
2023-10-17 13:43:43 +08:00
2024-09-19 15:44:59 +08:00
2024-06-28 09:30:42 +02:00
2024-09-15 20:21:41 +08:00
2023-07-08 13:50:48 +08:00
2024-07-03 17:31:23 +08:00
2024-09-23 08:57:29 +08:00
2024-09-16 10:33:01 +08:00
2024-09-23 08:57:29 +08:00
2024-09-23 08:57:29 +08:00
2024-09-23 08:57:29 +08:00