efi_loader: efi_dp_from_file() expect UTF-8 path
[oweals/u-boot.git] / include / mailbox.h
index c64951b2f765254d8fe68a6113eef31f49c35432..93f4715e169f14b4d02b67c578886de216ba7200 100644 (file)
@@ -44,6 +44,7 @@ struct udevice;
  *
  * @dev: The device which implements the mailbox.
  * @id: The mailbox channel ID within the provider.
+ * @con_priv: Hook for controller driver to attach private data
  *
  * Currently, the mailbox API assumes that a single integer ID is enough to
  * identify and configure any mailbox channel for any mailbox provider. If this
@@ -56,11 +57,9 @@ struct udevice;
  */
 struct mbox_chan {
        struct udevice *dev;
-       /*
-        * Written by of_xlate. We assume a single id is enough for now. In the
-        * future, we might add more fields here.
-        */
+       /* Written by of_xlate.*/
        unsigned long id;
+       void *con_priv;
 };
 
 /**