[lkml]   [2018]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subjectlinux-next: build failure in Linus' tree
Hi Linus,

Just building you tree, today's linux-next build (arm multi_v7_defconfig)
failed like this:

drivers/usb/host/ehci-st.c: In function 'st_ehci_suspend':
drivers/usb/host/ehci-st.c:300:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
drivers/usb/host/ehci-st.c: In function 'st_ehci_resume':
drivers/usb/host/ehci-st.c:312:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]

Caused by commit

23c35f48f5fb ("pinctrl: remove include file from <linux/device.h>")

I have added teh following fix patch for today:

From: Stephen Rothwell <>
Date: Mon, 5 Feb 2018 09:24:30 +1100
Subject: [PATCH] pinctrl: files should directly include apis they use

Fixes: 23c35f48f5fb ("pinctrl: remove include file from <linux/device.h>")
Signed-off-by: Stephen Rothwell <>
drivers/usb/host/ehci-st.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/ehci-st.c b/drivers/usb/host/ehci-st.c
index 3c1362ab70be..dc42981047c9 100644
--- a/drivers/usb/host/ehci-st.c
+++ b/drivers/usb/host/ehci-st.c
@@ -23,6 +23,7 @@
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include <linux/usb/ehci_pdriver.h>
+#include <linux/pinctrl/consumer.h>

#include "ehci.h"

Stephen Rothwell

 \ /
  Last update: 2018-02-04 23:29    [W:0.028 / U:1.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site