]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ENGR00287992-5 usb: chipidea: msm: change the return value for msm notify_event
authorPeter Chen <peter.chen@freescale.com>
Thu, 14 Nov 2013 08:24:38 +0000 (16:24 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:43 +0000 (10:06 +0200)
The return value of .notify_event has changed.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/chipidea/ci_hdrc_msm.c

index d72b9d2de2c5f828be33ea965c6ad87617722859..4ad0ca100fbc4f4030fc8794faf78a6c38e24b7f 100644 (file)
@@ -17,7 +17,7 @@
 
 #define MSM_USB_BASE   (ci->hw_bank.abs)
 
-static void ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event)
+static int ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event)
 {
        struct device *dev = ci->gadget.dev.parent;
        int val;
@@ -43,6 +43,8 @@ static void ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event)
                dev_dbg(dev, "unknown ci_hdrc event\n");
                break;
        }
+
+       return 0;
 }
 
 static struct ci_hdrc_platform_data ci_hdrc_msm_platdata = {