On Wed, 17 May 2017, Tony Lindgren wrote: > We can't just remove ohci-omap3 as that could make some people's > systems unusable for keyboard and mouse. Let's print a warning for > now, and then remove the driver in a year or so. > > Cc: Hans de Goede <hdegoede@xxxxxxxxxx> > Cc: Rob Herring <robh@xxxxxxxxxx> > Cc: Roger Quadros <rogerq@xxxxxx> > Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> > Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx> > --- > drivers/usb/host/ohci-omap3.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/usb/host/ohci-omap3.c b/drivers/usb/host/ohci-omap3.c > --- a/drivers/usb/host/ohci-omap3.c > +++ b/drivers/usb/host/ohci-omap3.c > @@ -130,6 +130,9 @@ static int ohci_hcd_omap3_probe(struct platform_device *pdev) > dev_dbg(dev, "failed to add hcd with err %d\n", ret); > goto err_add_hcd; > } > + > + WARN(1, "ohci-omap3 is deprecated, please use ohci-platform instead\n"); > + > device_wakeup_enable(hcd->self.controller); > > return 0; Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html