util: remove LIST_INITHEAD macro
[mesa.git] / src / gallium / winsys / amdgpu / drm / amdgpu_winsys.c
index 7864b21e3c7b1008ecd748615d2e8d94ec594385..568d3852893976e4ac1beee2fc9471feb38039ba 100644 (file)
@@ -383,7 +383,7 @@ amdgpu_winsys_create(int fd, const struct pipe_screen_config *config,
       /* init reference */
       pipe_reference_init(&aws->reference, 1);
 
-      LIST_INITHEAD(&aws->global_bo_list);
+      list_inithead(&aws->global_bo_list);
       aws->bo_export_table = util_hash_table_create(hash_pointer, compare_pointers);
 
       (void) simple_mtx_init(&aws->global_bo_list_lock, mtx_plain);