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 <[email protected]> Cc: Rob Herring <[email protected]> Cc: Roger Quadros <[email protected]> Cc: Yoshihiro Shimoda <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> --- 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; -- 2.13.0 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
