diff options
author | Stefan Roese <sr@denx.de> | 2008-09-05 08:47:46 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-05 11:27:01 (GMT) |
commit | 3e3c026ed746a284c6f0ef139b26d859939de7e9 (patch) | |
tree | a2192b1acd2cbe9432c08228bc027aa42b120962 /examples | |
parent | f158c3d51838474c4c36af365af145fbaf92b694 (diff) | |
download | u-boot-3e3c026ed746a284c6f0ef139b26d859939de7e9.tar.xz |
devices: Use list_add_tail() instead of list_add() to register a device
This patch fixes a problem spotted on Glacier/Canyonlands (and most
likely lots of other board ports), that no serial output was seen
after console initialization in console_init_r(). This is because the
last added console device was used instead of the first added.
This patch fixes this problem by using list_add_tail() instead of
list_add() to register a device. This way the first added console
is used again.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions