Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/pc/pc.c

    rb7fd2a0 rcccd60c3  
    5959} pc_fun_t;
    6060
    61 static errno_t pc_dev_add(ddf_dev_t *dev);
     61static int pc_dev_add(ddf_dev_t *dev);
    6262static void pc_init(void);
    6363
     
    125125}
    126126
    127 static errno_t pc_enable_interrupt(ddf_fun_t *fun, int irq)
     127static int pc_enable_interrupt(ddf_fun_t *fun, int irq)
    128128{
    129129        /* TODO */
     
    159159       
    160160        ddf_fun_t *fnode = NULL;
    161         errno_t rc;
     161        int rc;
    162162       
    163163        /* Create new device. */
     
    203203 * @param dev           The device which is root of the whole device tree (both
    204204 *                      of HW and pseudo devices).
    205  * @return              Zero on success, error number otherwise.
    206  */
    207 static errno_t pc_dev_add(ddf_dev_t *dev)
     205 * @return              Zero on success, negative error number otherwise.
     206 */
     207static int pc_dev_add(ddf_dev_t *dev)
    208208{
    209209        ddf_msg(LVL_DEBUG, "pc_dev_add, device handle = %d",
Note: See TracChangeset for help on using the changeset viewer.