mirror of https://gitee.com/openkylin/linux.git
Merge branch 'pm-cpuidle'
* pm-cpuidle: cpuidle-haltpoll: Fix small typo
This commit is contained in:
commit
a31434bcd4
|
@ -94,7 +94,7 @@ static void haltpoll_uninit(void)
|
|||
haltpoll_cpuidle_devices = NULL;
|
||||
}
|
||||
|
||||
static bool haltpool_want(void)
|
||||
static bool haltpoll_want(void)
|
||||
{
|
||||
return kvm_para_has_hint(KVM_HINTS_REALTIME) || force;
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ static int __init haltpoll_init(void)
|
|||
|
||||
cpuidle_poll_state_init(drv);
|
||||
|
||||
if (!kvm_para_available() || !haltpool_want())
|
||||
if (!kvm_para_available() || !haltpoll_want())
|
||||
return -ENODEV;
|
||||
|
||||
ret = cpuidle_register_driver(drv);
|
||||
|
|
Loading…
Reference in New Issue