Commit c193c7e0 authored by Jiajun Chen's avatar Jiajun Chen Committed by Yang Yingliang
Browse files

cpuidle: fix return type err in haltpoll_switch_governor



euleros inclusion
category: bugfix
bugzilla: NA
CVE: NA

---------------------------
while CONFIG_CPU_IDLE is disabled, the haltpoll_switch_governor function
should not return int type result,which will cause build err.

Fixes: 97c22788 ("cpuidle: fix container_of err in cpuidle_device and cpuidle_driver")
Signed-off-by: default avatarJiajun Chen <chenjiajun8@huawei.com>
Reviewed-by: default avatarKeqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent b51180d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment