]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
USB: gadget: s3c: get rid of debug compile warning
[people/ms/u-boot.git] / drivers / usb / gadget / s3c_udc_otg_xfer_dma.c
index 06dfeed9051ee3f516a67f1667b415b7406ad31d..4f69b22a254ceaa8586955337e90b018943aac63 100644 (file)
@@ -466,7 +466,7 @@ static int s3c_udc_irq(int irq, void *_dev)
        struct s3c_udc *dev = _dev;
        u32 intr_status;
        u32 usb_status, gintmsk;
-       unsigned long flags;
+       unsigned long flags = 0;
 
        spin_lock_irqsave(&dev->lock, flags);
 
@@ -585,7 +585,7 @@ static int s3c_queue(struct usb_ep *_ep, struct usb_request *_req,
        struct s3c_request *req;
        struct s3c_ep *ep;
        struct s3c_udc *dev;
-       unsigned long flags;
+       unsigned long flags = 0;
        u32 ep_num, gintsts;
 
        req = container_of(_req, struct s3c_request, req);
@@ -1033,7 +1033,7 @@ static int s3c_udc_set_halt(struct usb_ep *_ep, int value)
 {
        struct s3c_ep   *ep;
        struct s3c_udc  *dev;
-       unsigned long   flags;
+       unsigned long   flags = 0;
        u8              ep_num;
 
        ep = container_of(_ep, struct s3c_ep, ep);