cpu: find a pie in the sky.

This commit is contained in:
Alastair Poole 2020-10-14 18:28:56 +01:00
parent ef9a6d5370
commit d7d7f39394
1 changed files with 3 additions and 2 deletions

View File

@ -341,7 +341,7 @@ _coretemp_init(void)
}
static void
_k10_init(void)
_generic_init(void)
{
int i, cpu_count = system_cpu_count_get();
@ -359,7 +359,8 @@ system_cpu_n_temperature_get(int n)
thermal_drv drivers[] = {
{ "coretemp", _coretemp_init, 0, 100 },
{ "k10temp", _k10_init, 0, 100 },
{ "k10temp", _generic_init, 0, 100 },
{ "cpu_thermal", _generic_init, 0, 100 },
};
if (!init)