Commit:     3bf44688df34b6cb948d30b85766d0dab6cf6d21
Parent:     5b825ed22b02691e39774e8b2a077d1807969ec7
Author:     Peter Korsgaard <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 21 08:33:46 2007 -0800
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Sat Dec 22 23:14:33 2007 -0800

    USB: Unbreak fsl_usb2_udc
    Commit a4e3ef5... (USB: gadget: gadget_is_{dualspeed,otg} predicates
    and cleanup) broke fsl_usb2_udc; the build test didn't cover peripheral
    drivers, just gadget drivers.
    Signed-off-by: Peter Korsgaard <[EMAIL PROTECTED]>
    Signed-off-by: David Brownell <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/usb/gadget/fsl_usb2_udc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/gadget/fsl_usb2_udc.c 
index 9bb7f64..038e7d7 100644
--- a/drivers/usb/gadget/fsl_usb2_udc.c
+++ b/drivers/usb/gadget/fsl_usb2_udc.c
@@ -1318,7 +1318,7 @@ static void setup_received_irq(struct fsl_udc *udc,
                                | USB_TYPE_STANDARD)) {
                        /* Note: The driver has not include OTG support yet.
                         * This will be set when OTG support is added */
-                       if (!gadget_is_otg(udc->gadget))
+                       if (!gadget_is_otg(&udc->gadget))
                        else if (setup->bRequest == USB_DEVICE_B_HNP_ENABLE)
                                udc->gadget.b_hnp_enable = 1;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to