Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/amdm37x/main.c

    rb7fd2a0 rcde999a  
    150150
    151151static hw_resource_list_t *amdm37x_get_resources(ddf_fun_t *fnode);
    152 static errno_t amdm37x_enable_interrupt(ddf_fun_t *fun, int);
     152static int amdm37x_enable_interrupt(ddf_fun_t *fun, int);
    153153
    154154static hw_res_ops_t fun_hw_res_ops = {
     
    161161};
    162162
    163 static errno_t amdm37x_add_fun(ddf_dev_t *dev, const amdm37x_fun_t *fun)
     163static int amdm37x_add_fun(ddf_dev_t *dev, const amdm37x_fun_t *fun)
    164164{
    165165        assert(dev);
     
    174174       
    175175        /* Add match id */
    176         errno_t ret = ddf_fun_add_match_id(fnode,
     176        int ret = ddf_fun_add_match_id(fnode,
    177177            fun->match_id.id, fun->match_id.score);
    178178        if (ret != EOK) {
     
    212212 *
    213213 */
    214 static errno_t amdm37x_dev_add(ddf_dev_t *dev)
     214static int amdm37x_dev_add(ddf_dev_t *dev)
    215215{
    216216        assert(dev);
     
    218218        if (!device)
    219219                return ENOMEM;
    220         errno_t ret = amdm37x_init(device, DEBUG_CM);
     220        int ret = amdm37x_init(device, DEBUG_CM);
    221221        if (ret != EOK) {
    222222                ddf_msg(LVL_FATAL, "Failed to setup hw access!.\n");
     
    265265}
    266266
    267 static errno_t amdm37x_enable_interrupt(ddf_fun_t *fun, int irq)
     267static int amdm37x_enable_interrupt(ddf_fun_t *fun, int irq)
    268268{
    269269        //TODO: Implement
Note: See TracChangeset for help on using the changeset viewer.