History

driver core: Rename dev_links_info.defer_sync to defer_hook

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.

Saravana Kannan committed 6 years ago

Commit ec7bd781 parent cec72f32 files · +13 −13Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/device.h+2−2
@@ -433,7 +433,7 @@ enum dl_dev_state { · 432 unmodified lines
433 * @suppliers: List of links to supplier devices.433 * @suppliers: List of links to supplier devices.
434 * @consumers: List of links to consumer devices.434 * @consumers: List of links to consumer devices.
435 * @needs_suppliers: Hook to global list of devices waiting for suppliers.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 * @need_for_probe: If needs_suppliers is on a list, this indicates if the437 * @need_for_probe: If needs_suppliers is on a list, this indicates if the
438 * suppliers are needed for probe or not.438 * suppliers are needed for probe or not.
439 * @status: Driver status information.439 * @status: Driver status information.
@@ -442,7 +442,7 @@ struct dev_links_info { · 2 unmodified lines
442 struct list_head suppliers;442 struct list_head suppliers;
443 struct list_head consumers;443 struct list_head consumers;
444 struct list_head needs_suppliers;444 struct list_head needs_suppliers;
445 struct list_head defer_sync;445 struct list_head defer_hook;
446 bool need_for_probe;446 bool need_for_probe;
447 enum dl_dev_state status;447 enum dl_dev_state status;
448};448};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t