Changeset a0d4afe in mainline for uspace/srv/hid/display/display.c
- Timestamp:
- 2023-01-18T16:51:44Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3e7e226
- Parents:
- b0ae23f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/display.c
rb0ae23f ra0d4afe 796 796 { 797 797 assert(idevcfg->display == NULL); 798 assert(!link_used(&idevcfg->l idevcfgs));798 assert(!link_used(&idevcfg->ldispidcfgs)); 799 799 800 800 idevcfg->display = disp; 801 list_append(&idevcfg->l idevcfgs, &disp->idevcfgs);801 list_append(&idevcfg->ldispidcfgs, &disp->idevcfgs); 802 802 } 803 803 … … 808 808 void ds_display_remove_idevcfg(ds_idevcfg_t *idevcfg) 809 809 { 810 list_remove(&idevcfg->l idevcfgs);810 list_remove(&idevcfg->ldispidcfgs); 811 811 idevcfg->display = NULL; 812 812 } … … 824 824 return NULL; 825 825 826 return list_get_instance(link, ds_idevcfg_t, l idevcfgs);826 return list_get_instance(link, ds_idevcfg_t, ldispidcfgs); 827 827 } 828 828 … … 834 834 ds_idevcfg_t *ds_display_next_idevcfg(ds_idevcfg_t *idevcfg) 835 835 { 836 link_t *link = list_next(&idevcfg->l idevcfgs, &idevcfg->display->idevcfgs);837 838 if (link == NULL) 839 return NULL; 840 841 return list_get_instance(link, ds_idevcfg_t, l idevcfgs);836 link_t *link = list_next(&idevcfg->ldispidcfgs, &idevcfg->display->idevcfgs); 837 838 if (link == NULL) 839 return NULL; 840 841 return list_get_instance(link, ds_idevcfg_t, ldispidcfgs); 842 842 } 843 843
Note:
See TracChangeset
for help on using the changeset viewer.