X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fmailbox.h;h=93f4715e169f14b4d02b67c578886de216ba7200;hb=92832045c54586e9dffa082ff8cd8c2ef6040757;hp=a92a1a590dfeb2e88859067a317e23a8d33d1d46;hpb=2313d48445e59f063ec9a3b4940fe8252737db76;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/mailbox.h b/include/mailbox.h index a92a1a5..93f4715 100644 --- a/include/mailbox.h +++ b/include/mailbox.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2016, NVIDIA CORPORATION. - * - * SPDX-License-Identifier: GPL-2.0 */ #ifndef _MAILBOX_H @@ -45,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 @@ -57,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; }; /**