From: Caesar Wang Date: Thu, 12 Nov 2015 03:43:11 +0000 (-0800) Subject: thermal: rockchip: fix compile error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c970872e59e46774d508777291b2f90910ab695b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git thermal: rockchip: fix compile error Missing a include file caused compile error. drivers/thermal/rockchip_thermal.c: In function 'rockchip_thermal_suspend': drivers/thermal/rockchip_thermal.c:720:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration] ... Fixes: 7e38a5b1daa1 ("thermal: rockchip: support the sleep pinctrl state to avoid glitches") Reported-by: Stephen Rothwell Reported-by: kbuild test robot Signed-off-by: Caesar Wang Signed-off-by: Eduardo Valentin Signed-off-by: Linus Torvalds --- diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c index 2b58870c3e25..9787e8aa509f 100644 --- a/drivers/thermal/rockchip_thermal.c +++ b/drivers/thermal/rockchip_thermal.c @@ -22,6 +22,7 @@ #include #include #include +#include /** * If the temperature over a period of time High,