Ignore:
File:
1 edited

Legend:

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

    r48adf0f rb7fd2a0  
    7777} sun4u_fun_t;
    7878
    79 static int sun4u_dev_add(ddf_dev_t *dev);
     79static errno_t sun4u_dev_add(ddf_dev_t *dev);
    8080static void sun4u_init(void);
    8181
     
    159159}
    160160
    161 static int sun4u_enable_interrupt(ddf_fun_t *fun, int irq)
     161static errno_t sun4u_enable_interrupt(ddf_fun_t *fun, int irq)
    162162{
    163163        /* TODO */
     
    193193       
    194194        ddf_fun_t *fnode = NULL;
    195         int rc;
     195        errno_t rc;
    196196       
    197197        /* Create new device. */
     
    240240 * @param dev           The device which is root of the whole device tree (both
    241241 *                      of HW and pseudo devices).
    242  * @return              Zero on success, negative error number otherwise.
    243  */
    244 static int sun4u_dev_add(ddf_dev_t *dev)
     242 * @return              Zero on success, error number otherwise.
     243 */
     244static errno_t sun4u_dev_add(ddf_dev_t *dev)
    245245{
    246246        ddf_msg(LVL_DEBUG, "sun4u_dev_add, device handle = %d",
Note: See TracChangeset for help on using the changeset viewer.