mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/1] last minute thermal build fix for v4.4-rc1
@ 2015-11-12  3:43 Eduardo Valentin
  2015-11-12  3:43 ` [PATCH 1/1] thermal: rockchip: fix compile error Eduardo Valentin
  0 siblings, 1 reply; 2+ messages in thread
From: Eduardo Valentin @ 2015-11-12  3:43 UTC (permalink / raw)
  To: Linus Torvalds, Stephen Rothwell, Rui Zhang
  Cc: LKML, Linux PM, Eduardo Valentin

Hello Linus,

This is build fix on Rockchip driver for v4.4-rc1 that missed the
thermal pull request sent by Rui on Nov 10th.

Please consider picking the patch for fixing the build failure
on v4.4-rc1.

BR,

Eduardo Valentin

Caesar Wang (1):
  thermal: rockchip: fix compile error

 drivers/thermal/rockchip_thermal.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.5.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] thermal: rockchip: fix compile error
  2015-11-12  3:43 [PATCH 0/1] last minute thermal build fix for v4.4-rc1 Eduardo Valentin
@ 2015-11-12  3:43 ` Eduardo Valentin
  0 siblings, 0 replies; 2+ messages in thread
From: Eduardo Valentin @ 2015-11-12  3:43 UTC (permalink / raw)
  To: Linus Torvalds, Stephen Rothwell, Rui Zhang
  Cc: LKML, Linux PM, Caesar Wang, Eduardo Valentin

From: Caesar Wang <wxt@rock-chips.com>

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]
pinctrl_pm_select_sleep_state(dev);
                 ^
drivers/thermal/rockchip_thermal.c:
In function 'rockchip_thermal_resume':
drivers/thermal/rockchip_thermal.c:759:2: error: implicit
declaration of function 'pinctrl_pm_select_default_state'
[-Werror=implicit-function-declaration]
^pinctrl_pm_select_default_state(dev);
cc1: some warnings being treated as errors

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>
---
 drivers/thermal/rockchip_thermal.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c
index 2b58870..9787e8a 100644
--- a/drivers/thermal/rockchip_thermal.c
+++ b/drivers/thermal/rockchip_thermal.c
@@ -22,6 +22,7 @@
 #include <linux/platform_device.h>
 #include <linux/reset.h>
 #include <linux/thermal.h>
+#include <linux/pinctrl/consumer.h>
 
 /**
  * If the temperature over a period of time High,
-- 
2.5.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-12  3:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12  3:43 [PATCH 0/1] last minute thermal build fix for v4.4-rc1 Eduardo Valentin
2015-11-12  3:43 ` [PATCH 1/1] thermal: rockchip: fix compile error Eduardo Valentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®