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 <hdego...@redhat.com> > Cc: Rob Herring <r...@kernel.org> > Cc: Roger Quadros <rog...@ti.com> > Cc: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> > Signed-off-by: Tony Lindgren <t...@atomide.com> > --- > 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 <st...@rowland.harvard.edu> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html