The defer_sync field is used as a hook to add the device to the deferred_sync list. Rename it so that it's more meaningful for the next patch that'll also use this field as a hook to a deferred_fw_devlink list.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -433,7 +433,7 @@ enum dl_dev_state { · 432 unmodified lines | ||
| 433 | 433 | * @suppliers: List of links to supplier devices. |
| 434 | 434 | * @consumers: List of links to consumer devices. |
| 435 | 435 | * @needs_suppliers: Hook to global list of devices waiting for suppliers. |
| 436 | − * @defer_sync: Hook to global list of devices that have deferred sync_state. | |
| 436 | + * @defer_hook: Hook to global list of devices that have deferred sync_state. | |
| 437 | 437 | * @need_for_probe: If needs_suppliers is on a list, this indicates if the |
| 438 | 438 | * suppliers are needed for probe or not. |
| 439 | 439 | * @status: Driver status information. |
| @@ -442,7 +442,7 @@ struct dev_links_info { · 2 unmodified lines | ||
| 442 | 442 | struct list_head suppliers; |
| 443 | 443 | struct list_head consumers; |
| 444 | 444 | struct list_head needs_suppliers; |
| 445 | − struct list_head defer_sync; | |
| 445 | + struct list_head defer_hook; | |
| 446 | 446 | bool need_for_probe; |
| 447 | 447 | enum dl_dev_state status; |
| 448 | 448 | }; |