diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-13 23:41:51 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 10:36:46 -0600 |
commit | 547cea19b875ce83cc7c14ae750eca4973dab555 (patch) | |
tree | e4d9c7acf5ba6f26ba7a81ad024e4af00fd25756 /include | |
parent | accd4b19b39bde7398aa8d1a8eeb66f3a14dde5b (diff) | |
download | u-boot-imx-547cea19b875ce83cc7c14ae750eca4973dab555.zip u-boot-imx-547cea19b875ce83cc7c14ae750eca4973dab555.tar.gz u-boot-imx-547cea19b875ce83cc7c14ae750eca4973dab555.tar.bz2 |
dm: core: Add a clarifying comment on struct udevice's seq member
The sequence number is unique within the uclass, so state this clearly.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dm/device.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dm/device.h b/include/dm/device.h index 56862d3..9ce95a8 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -57,7 +57,8 @@ struct driver_info; * @sibling_node: Next device in list of all devices * @flags: Flags for this device DM_FLAG_... * @req_seq: Requested sequence number for this device (-1 = any) - * @seq: Allocated sequence number for this device (-1 = none) + * @seq: Allocated sequence number for this device (-1 = none). This is set up + * when the device is probed and will be unique within the device's uclass. */ struct udevice { struct driver *driver; |