Rev 4153 | Rev 4327 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4153 | Rev 4263 | ||
---|---|---|---|
Line 110... | Line 110... | ||
110 | link_t *item = devices_list.next; |
110 | link_t *item = devices_list.next; |
111 | devmap_device_t *device = NULL; |
111 | devmap_device_t *device = NULL; |
112 | 112 | ||
113 | while (item != &devices_list) { |
113 | while (item != &devices_list) { |
114 | device = list_get_instance(item, devmap_device_t, devices); |
114 | device = list_get_instance(item, devmap_device_t, devices); |
115 | if (0 == strcmp(device->name, name)) |
115 | if (0 == str_cmp(device->name, name)) |
116 | break; |
116 | break; |
117 | item = item->next; |
117 | item = item->next; |
118 | } |
118 | } |
119 | 119 | ||
120 | if (item == &devices_list) |
120 | if (item == &devices_list) |