Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/intctl/obio/obio.c

    rb7fd2a0 rce96ec2  
    4747#include <ddi.h>
    4848#include <errno.h>
    49 #include <str_error.h>
    5049#include <inttypes.h>
    5150#include <ipc/irc.h>
     
    114113
    115114/** Add OBIO device. */
    116 errno_t obio_add(obio_t *obio, obio_res_t *res)
     115int obio_add(obio_t *obio, obio_res_t *res)
    117116{
    118117        ddf_fun_t *fun_a = NULL;
    119         errno_t rc;
     118        int rc;
    120119
    121120        rc = pio_enable((void *)res->base, OBIO_SIZE, (void **) &obio->regs);
     
    139138        rc = ddf_fun_bind(fun_a);
    140139        if (rc != EOK) {
    141                 ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc));
     140                ddf_msg(LVL_ERROR, "Failed binding function 'a'. (%d)", rc);
    142141                goto error;
    143142        }
     
    155154
    156155/** Remove OBIO device */
    157 errno_t obio_remove(obio_t *obio)
     156int obio_remove(obio_t *obio)
    158157{
    159158        return ENOTSUP;
     
    161160
    162161/** OBIO device gone */
    163 errno_t obio_gone(obio_t *obio)
     162int obio_gone(obio_t *obio)
    164163{
    165164        return ENOTSUP;
Note: See TracChangeset for help on using the changeset viewer.