Changeset 58563585 in mainline for uspace/drv/bus/usb/uhci/hc.h


Ignore:
Timestamp:
2016-08-31T11:15:39Z (8 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
10cb47e
Parents:
7a67416
Message:

code review and cstyle cleanup (no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/hc.h

    r7a67416 r58563585  
    3333 * @brief UHCI host controller driver structure
    3434 */
     35
    3536#ifndef DRV_UHCI_HC_H
    3637#define DRV_UHCI_HC_H
     
    123124} hc_t;
    124125
    125 int hc_init(hc_t *instance, const hw_res_list_parsed_t *hw_res, bool interupts);
    126 void hc_fini(hc_t *instance);
     126extern int hc_init(hc_t *, const hw_res_list_parsed_t *, bool);
     127extern void hc_fini(hc_t *);
    127128
    128 int uhci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res);
     129extern int uhci_hc_gen_irq_code(irq_code_t *, const hw_res_list_parsed_t *);
    129130
    130 void uhci_hc_interrupt(hcd_t *hcd, uint32_t status);
    131 int uhci_hc_status(hcd_t *hcd, uint32_t *status);
    132 int uhci_hc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch);
     131extern void uhci_hc_interrupt(hcd_t *, uint32_t);
     132extern int uhci_hc_status(hcd_t *, uint32_t *);
     133extern int uhci_hc_schedule(hcd_t *, usb_transfer_batch_t *);
    133134
    134135#endif
Note: See TracChangeset for help on using the changeset viewer.