aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2015-11-11 22:43:11 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-11 22:52:39 -0500
commitc970872e59e46774d508777291b2f90910ab695b (patch)
treec4c3440d523f19537a465ccb120bd05b48d0d32d
parent8d3de01cfa37bfcf54f1d84eafb7db8530b74199 (diff)
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 <sfr@canb.auug.org.au> Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/thermal/rockchip_thermal.c1
1 files changed, 1 insertions, 0 deletions
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 @@
22#include <linux/platform_device.h> 22#include <linux/platform_device.h>
23#include <linux/reset.h> 23#include <linux/reset.h>
24#include <linux/thermal.h> 24#include <linux/thermal.h>
25#include <linux/pinctrl/consumer.h>
25 26
26/** 27/**
27 * If the temperature over a period of time High, 28 * If the temperature over a period of time High,