1. 05 7月, 2011 2 次提交
    • F
      usb: gadget: langwell_udc: fix compile warnings · b9af9ea4
      Felipe Balbi 提交于
      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: NFelipe Balbi <balbi@ti.com>
      b9af9ea4
    • F
      usb: gadget: fusb300_udc: drop dead code · 4dbafd3d
      Felipe Balbi 提交于
      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: NFelipe Balbi <balbi@ti.com>
      4dbafd3d
  2. 02 7月, 2011 38 次提交