]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/usb/otg/mv_otg.c
Merge tag 'xceiv-for-v3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi...
[linux-beck.git] / drivers / usb / otg / mv_otg.c
index da2d60c06f152dcd87768e2054ee1c049b8427cf..b6a9be31133b0dd15231c6b02ed05cbd10adade6 100644 (file)
@@ -420,7 +420,7 @@ static void mv_otg_work(struct work_struct *work)
        struct usb_otg *otg;
        int old_state;
 
-       mvotg = container_of((struct delayed_work *)work, struct mv_otg, work);
+       mvotg = container_of(to_delayed_work(work), struct mv_otg, work);
 
 run:
        /* work queue is single thread, or we need spin_lock to protect */