summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSaravana Kannan <saravanak@google.com>2020-11-21 05:02:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 21:10:20 +0300
commit3b052a3e30f2eb92dcae9fd89af48d5a13045737 (patch)
treedb418be3733917aa091c23c69c870de33777ebe4 /include
parentc95d64012ad7de2747923b0caf80e195e940606c (diff)
downloadlinux-3b052a3e30f2eb92dcae9fd89af48d5a13045737.tar.xz
Revert "driver core: Rename dev_links_info.defer_sync to defer_hook"
This reverts commit ec7bd78498f29680f536451fbdf9464e851273ed. This field rename was done to reuse defer_syc list head for multiple lists. That's not needed anymore and this list head will only be used for defer sync. So revert this patch to avoid conflicts with the other reverts coming after this. Signed-off-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20201121020232.908850-3-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index da00f8e449bb..1e771ea4dca6 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -352,7 +352,7 @@ enum dl_dev_state {
* @suppliers: List of links to supplier devices.
* @consumers: List of links to consumer devices.
* @needs_suppliers: Hook to global list of devices waiting for suppliers.
- * @defer_hook: Hook to global list of devices that have deferred sync_state.
+ * @defer_sync: Hook to global list of devices that have deferred sync_state.
* @need_for_probe: If needs_suppliers is on a list, this indicates if the
* suppliers are needed for probe or not.
* @status: Driver status information.
@@ -361,7 +361,7 @@ struct dev_links_info {
struct list_head suppliers;
struct list_head consumers;
struct list_head needs_suppliers;
- struct list_head defer_hook;
+ struct list_head defer_sync;
bool need_for_probe;
enum dl_dev_state status;
};