Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/match.c

    rba38f72c rcc70d57  
    4646        if (str_cmp(driver->id, device->id) == 0) {
    4747                /*
    48                  * The strings match, return the product of their scores.
     48                 * The strings matches, return their score multiplied.
    4949                 */
    5050                return driver->score * device->score;
     
    5757}
    5858
    59 int get_match_score(driver_t *drv, dev_node_t *dev)
     59int get_match_score(driver_t *drv, node_t *dev)
    6060{
    6161        link_t *drv_head = &drv->match_ids.ids;
    62         link_t *dev_head = &dev->pfun->match_ids.ids;
     62        link_t *dev_head = &dev->match_ids.ids;
    6363       
    6464        if (list_empty(drv_head) || list_empty(dev_head))
     
    6666       
    6767        /*
    68          * Go through all pairs, return the highest score obtained.
     68         * Go through all pairs, return the highest score obtainetd.
    6969         */
    7070        int highest_score = 0;
Note: See TracChangeset for help on using the changeset viewer.