Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 277ff98 in mainline


Ignore:
Timestamp:
2011-12-11T17:27:29Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
023a902
Parents:
c046942
Message:

libusbdev: Remove references to pipepriv routines.

Location:
uspace/lib/usbdev/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/pipes.c

    rc046942 r277ff98  
    3535#include <usb_iface.h>
    3636#include <usb/dev/pipes.h>
    37 #include <usb/dev.h>
    3837#include <errno.h>
    3938#include <assert.h>
    40 #include "pipepriv.h"
    4139
    4240/** Tell USB interface assigned to given device.
     
    7876void usb_pipe_start_long_transfer(usb_pipe_t *pipe)
    7977{
    80         (void) pipe_add_ref(pipe, true);
    8178}
    8279
     
    8986void usb_pipe_end_long_transfer(usb_pipe_t *pipe)
    9087{
    91         pipe_drop_ref(pipe);
    9288}
    9389
  • uspace/lib/usbdev/src/pipesinit.c

    rc046942 r277ff98  
    371371        assert(connection);
    372372
    373         int rc = usb_pipe_initialize(pipe, connection,
    374             0, USB_TRANSFER_CONTROL, CTRL_PIPE_MIN_PACKET_SIZE,
    375             USB_DIRECTION_BOTH);
     373        int rc = usb_pipe_initialize(pipe, connection, 0, USB_TRANSFER_CONTROL,
     374            CTRL_PIPE_MIN_PACKET_SIZE, USB_DIRECTION_BOTH);
    376375
    377376        pipe->auto_reset_halt = true;
  • uspace/lib/usbdev/src/pipesio.c

    rc046942 r277ff98  
    4545 */
    4646
    47 #include <usb/usb.h>
    4847#include <usb/dev/pipes.h>
    4948#include <errno.h>
    5049#include <assert.h>
    51 #include <usbhc_iface.h>
    5250#include <usb/dev/request.h>
    53 #include <async.h>
    54 #include "pipepriv.h"
    5551
    5652/** Request an in transfer, no checking of input parameters.
Note: See TracChangeset for help on using the changeset viewer.