1. 05 Jul, 2011 3 commits
    • Felipe Balbi's avatar
      usb: gadget: net2272: fix compile warnings · 7b30d19a
      Felipe Balbi authored
      This patch fixes the following compile warnings:
      
      drivers/usb/gadget/net2272.c: In function ‘net2272_kick_dma’:
      drivers/usb/gadget/net2272.c:740:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘dma_addr_t’ [-Wformat]
      drivers/usb/gadget/net2272.c: In function ‘net2272_queue’:
      drivers/usb/gadget/net2272.c:859:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 8 has type ‘dma_addr_t’ [-Wformat]
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      7b30d19a
    • Felipe Balbi's avatar
      usb: gadget: langwell_udc: fix compile warnings · b9af9ea4
      Felipe Balbi authored
      This patch fixes the following compile warnings:
      
      drivers/usb/gadget/langwell_udc.c: In function ‘queue_dtd’:
      drivers/usb/gadget/langwell_udc.c:596:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      drivers/usb/gadget/langwell_udc.c: In function ‘langwell_udc_probe’:
      drivers/usb/gadget/langwell_udc.c:3274:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
      drivers/usb/gadget/langwell_udc.c:3289:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
      drivers/usb/gadget/langwell_udc.c: In function ‘langwell_udc_resume’:
      drivers/usb/gadget/langwell_udc.c:3473:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
      drivers/usb/gadget/langwell_udc.c:3487:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      b9af9ea4
    • Felipe Balbi's avatar
      usb: gadget: fusb300_udc: drop dead code · 4dbafd3d
      Felipe Balbi authored
      that code has been dead forever. Since the
      first commit (0fe6f1d1) the use of that code
      has been commented out. Let's drop the dead
      code already and fix the following compile
      warning:
      
      | drivers/usb/gadget/fusb300_udc.c: At top level:
      | drivers/usb/gadget/fusb300_udc.c:771:13: warning: ‘fusb300_wrfifo’ defined but not used [-Wunused-function]
      | drivers/usb/gadget/fusb300_udc.c:1027:13: warning: ‘fusb300_set_ep_bycnt’ defined but not used [-Wunused-function]
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      4dbafd3d
  2. 01 Jul, 2011 37 commits