Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/pl050/pl050.c

    rb7fd2a0 rdd8ab1c  
    5151};
    5252
    53 static errno_t pl050_dev_add(ddf_dev_t *);
    54 static errno_t pl050_fun_online(ddf_fun_t *);
    55 static errno_t pl050_fun_offline(ddf_fun_t *);
     53static int pl050_dev_add(ddf_dev_t *);
     54static int pl050_fun_online(ddf_fun_t *);
     55static int pl050_fun_offline(ddf_fun_t *);
    5656static void pl050_char_conn(ipc_callid_t, ipc_call_t *, void *);
    57 static errno_t pl050_read(chardev_srv_t *, void *, size_t, size_t *);
    58 static errno_t pl050_write(chardev_srv_t *, const void *, size_t, size_t *);
     57static int pl050_read(chardev_srv_t *, void *, size_t, size_t *);
     58static int pl050_write(chardev_srv_t *, const void *, size_t, size_t *);
    5959
    6060static driver_ops_t driver_ops = {
     
    158158}
    159159
    160 static errno_t pl050_init(pl050_t *pl050)
     160static int pl050_init(pl050_t *pl050)
    161161{
    162162        hw_res_list_parsed_t res;
    163163        void *regs;
    164         errno_t rc;
     164        int rc;
    165165
    166166        fibril_mutex_initialize(&pl050->buf_lock);
     
    237237}
    238238
    239 static errno_t pl050_read(chardev_srv_t *srv, void *buffer, size_t size,
     239static int pl050_read(chardev_srv_t *srv, void *buffer, size_t size,
    240240    size_t *nread)
    241241{
     
    263263}
    264264
    265 static errno_t pl050_write(chardev_srv_t *srv, const void *data, size_t size,
     265static int pl050_write(chardev_srv_t *srv, const void *data, size_t size,
    266266    size_t *nwritten)
    267267{
     
    294294
    295295/** Add device. */
    296 static errno_t pl050_dev_add(ddf_dev_t *dev)
     296static int pl050_dev_add(ddf_dev_t *dev)
    297297{
    298298        ddf_fun_t *fun_a;
    299299        pl050_t *pl050 = NULL;
    300300        const char *mname;
    301         errno_t rc;
     301        int rc;
    302302
    303303        ddf_msg(LVL_DEBUG, "pl050_dev_add()");
     
    363363}
    364364
    365 static errno_t pl050_fun_online(ddf_fun_t *fun)
     365static int pl050_fun_online(ddf_fun_t *fun)
    366366{
    367367        ddf_msg(LVL_DEBUG, "pl050_fun_online()");
     
    369369}
    370370
    371 static errno_t pl050_fun_offline(ddf_fun_t *fun)
     371static int pl050_fun_offline(ddf_fun_t *fun)
    372372{
    373373        ddf_msg(LVL_DEBUG, "pl050_fun_offline()");
     
    377377int main(int argc, char *argv[])
    378378{
    379         errno_t rc;
     379        int rc;
    380380
    381381        printf(NAME ": HelenOS pl050 serial device driver\n");
Note: See TracChangeset for help on using the changeset viewer.