diff options
Diffstat (limited to 'include/linux/device.h')
| -rw-r--r-- | include/linux/device.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 928e899ccbfb..54b586105179 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
| @@ -758,11 +758,17 @@ struct device_dma_parameters { | |||
| 758 | 758 | ||
| 759 | /** | 759 | /** |
| 760 | * struct device_connection - Device Connection Descriptor | 760 | * struct device_connection - Device Connection Descriptor |
| 761 | * @fwnode: The device node of the connected device | ||
| 761 | * @endpoint: The names of the two devices connected together | 762 | * @endpoint: The names of the two devices connected together |
| 762 | * @id: Unique identifier for the connection | 763 | * @id: Unique identifier for the connection |
| 763 | * @list: List head, private, for internal use only | 764 | * @list: List head, private, for internal use only |
| 765 | * | ||
| 766 | * NOTE: @fwnode is not used together with @endpoint. @fwnode is used when | ||
| 767 | * platform firmware defines the connection. When the connection is registered | ||
| 768 | * with device_connection_add() @endpoint is used instead. | ||
| 764 | */ | 769 | */ |
| 765 | struct device_connection { | 770 | struct device_connection { |
| 771 | struct fwnode_handle *fwnode; | ||
| 766 | const char *endpoint[2]; | 772 | const char *endpoint[2]; |
| 767 | const char *id; | 773 | const char *id; |
| 768 | struct list_head list; | 774 | struct list_head list; |
