]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: rockchip: fix compile error
authorCaesar Wang <wxt@rock-chips.com>
Thu, 12 Nov 2015 03:43:11 +0000 (19:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Nov 2015 03:52:39 +0000 (19:52 -0800)
commit39b05f169dd542434f0cd66e792c62c818eb9686
treec4c3440d523f19537a465ccb120bd05b48d0d32d
parent7dcbd044446fbc7ff7a0196414bfa78605228f82
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: cccb2786f38c ("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>
drivers/thermal/rockchip_thermal.c