driver core: Add support for linking devices during device addition
[sfrench/cifs-2.6.git] / include / linux / device.h
index 297239a08bb77c7474c21695a8ef406cd582e78a..c6fb5b3431b7d6eaa78332d7f6a0f794a073665b 100644 (file)
@@ -1135,11 +1135,13 @@ enum dl_dev_state {
  * struct dev_links_info - Device data related to device links.
  * @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.
  * @status: Driver status information.
  */
 struct dev_links_info {
        struct list_head suppliers;
        struct list_head consumers;
+       struct list_head needs_suppliers;
        enum dl_dev_state status;
 };