Changeset 193da9d6 in mainline for uspace/drv/bus/usb/usbhub/utils.h


Ignore:
Timestamp:
2011-09-19T14:15:55Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7a05ced0
Parents:
34a0d17
Message:

usbhub: Rename usbhub_private.h ⇒ utils.h.

Add error checks, comments, and slight refactoring.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/utils.h

    r34a0d17 r193da9d6  
    11/*
    22 * Copyright (c) 2010 Matus Dekanek
     3 * Copyright (c) 2011 Jan Vesely
    34 * All rights reserved.
    45 *
     
    3435 */
    3536
    36 #ifndef USBHUB_PRIVATE_H
    37 #define USBHUB_PRIVATE_H
    38 
    39 #include "usbhub.h"
     37#ifndef USBHUB_UTILS_H
     38#define USBHUB_UTILS_H
    4039
    4140#include <adt/list.h>
     
    4847#include <usb/debug.h>
    4948#include <usb/dev/request.h>
     49
     50#include "usbhub.h"
    5051
    5152//************
     
    166167}
    167168
    168 
    169169void * usb_create_serialized_hub_descriptor(usb_hub_descriptor_t *descriptor);
    170170
     
    175175    void *serialized_descriptor, size_t size, usb_hub_descriptor_t *descriptor);
    176176
    177 
    178 #endif  /* USBHUB_PRIVATE_H */
    179 
     177#endif
    180178/**
    181179 * @}
Note: See TracChangeset for help on using the changeset viewer.