Ignore:
File:
1 edited

Legend:

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

    ra416d070 rb446b02  
    279279        int rc;
    280280
    281         rc = icp_add_fun(dev, "kbd", "arm/pl050", &icp_kbd_fun_proto);
    282         if (rc != EOK)
    283                 return rc;
    284 
    285         rc = icp_add_fun(dev, "mouse", "arm/pl050", &icp_mouse_fun_proto);
    286         if (rc != EOK)
    287                 return rc;
    288 
    289281        rc = icp_add_fun(dev, "intctl", "integratorcp/intctl",
    290282            &icp_ic_fun_proto);
     
    292284                return rc;
    293285
     286        rc = icp_add_fun(dev, "kbd", "arm/pl050", &icp_kbd_fun_proto);
     287        if (rc != EOK)
     288                return rc;
     289
     290        rc = icp_add_fun(dev, "mouse", "arm/pl050", &icp_mouse_fun_proto);
     291        if (rc != EOK)
     292                return rc;
     293
    294294        return EOK;
    295295}
Note: See TracChangeset for help on using the changeset viewer.