On 11/02/19 4:06 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> > > There are two users upstream which register external callbacks for > switching the port power on/off and overcurrent protection. Both > users only use two GPIOs for that. Instead of having that functionality > in the board files, move the logic into the OHCI driver - including > the interrupt handler for overcurrent detection. > > Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> > Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > --- > drivers/usb/host/ohci-da8xx.c | 99 ++++++++++++++++++----------------- > 1 file changed, 50 insertions(+), 49 deletions(-) > > diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c > index e8ede0b5e3f0..80c23307fbfe 100644 > --- a/drivers/usb/host/ohci-da8xx.c > +++ b/drivers/usb/host/ohci-da8xx.c > @@ -12,6 +12,7 @@ > #include <linux/io.h> > #include <linux/interrupt.h> > #include <linux/jiffies.h> > +#include <linux/gpio/consumer.h> > #include <linux/kernel.h> > #include <linux/module.h> > #include <linux/platform_device.h> Added the new include in alphabetical order. With that minor fix, series is applied to my v5.1/soc branch. Thanks, Sekhar