mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-20 20:04:46 +00:00
log: Tidy up an ambiguous comment
Add a bit more detail so it is clear that multiple devices are supported, but only one per driver. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
d2e7972d7b
commit
f98caa6ae3
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ int log_init(void)
|
||||||
/*
|
/*
|
||||||
* We cannot add runtime data to the driver since it is likely stored
|
* We cannot add runtime data to the driver since it is likely stored
|
||||||
* in rodata. Instead, set up a 'device' corresponding to each driver.
|
* in rodata. Instead, set up a 'device' corresponding to each driver.
|
||||||
* We only support having a single device.
|
* We only support having a single device for each driver.
|
||||||
*/
|
*/
|
||||||
INIT_LIST_HEAD((struct list_head *)&gd->log_head);
|
INIT_LIST_HEAD((struct list_head *)&gd->log_head);
|
||||||
while (drv < end) {
|
while (drv < end) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue