Hi, Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx> writes: > Hello. > > On 10/21/2016 03:29 PM, Felipe Balbi wrote: > >> dwc3-st uses pinctrl_pm_select_*_state() however it >> doesn't include the necessary header. Fix the build >> break caused by that, by simply including the >> missing header. >> >> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> >> --- >> drivers/usb/dwc3/dwc3-st.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/usb/dwc3/dwc3-st.c b/drivers/usb/dwc3/dwc3-st.c >> index 89a2f712fdfe..aaaf256f71dd 100644 >> --- a/drivers/usb/dwc3/dwc3-st.c >> +++ b/drivers/usb/dwc3/dwc3-st.c >> @@ -31,6 +31,7 @@ >> #include <linux/slab.h> >> #include <linux/regmap.h> >> #include <linux/reset.h> >> +#include <linux/pinctrl/consumer.h> > > s/consume.h/consumer.h/ in the subject? fixed, though it was misleading to place the comment here ;-) From 4bdfa9825c4e4f48d889d92e11d171ec325d3bc3 Mon Sep 17 00:00:00 2001 From: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> Date: Fri, 21 Oct 2016 15:23:59 +0300 Subject: [PATCH 1/2] usb: dwc3: st: add missing <linux/pinctrl/consumer.h> include dwc3-st uses pinctrl_pm_select_*_state() however it doesn't include the necessary header. Fix the build break caused by that, by simply including the missing header. Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> --- drivers/usb/dwc3/dwc3-st.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/dwc3-st.c b/drivers/usb/dwc3/dwc3-st.c index 89a2f712fdfe..aaaf256f71dd 100644 --- a/drivers/usb/dwc3/dwc3-st.c +++ b/drivers/usb/dwc3/dwc3-st.c @@ -31,6 +31,7 @@ #include <linux/slab.h> #include <linux/regmap.h> #include <linux/reset.h> +#include <linux/pinctrl/consumer.h> #include <linux/usb/of.h> #include "core.h" -- 2.10.1 -- balbi
Attachment:
signature.asc
Description: PGP signature