usb: fix building musb drivers
[pandora-kernel.git] / drivers / usb / musb / musb_host.c
index 5eef4a8..07b106c 100644 (file)
@@ -2304,7 +2304,7 @@ static int musb_bus_suspend(struct usb_hcd *hcd)
 
        if (musb->is_active) {
                WARNING("trying to suspend as %s while active\n",
-                               otg_state_string(musb));
+                               otg_state_string(musb->xceiv->state));
                return -EBUSY;
        } else
                return 0;