From: Wolfgang Denk Date: Fri, 05 Sep 2008 13:30:43 +0200 Subject: [U-Boot] [PATCH] devices: Use list_add_tail() instead of list_add() to register a device In-Reply-To: <1220604466-22538-1-git-send-email-sr@denx.de> References: <1220604466-22538-1-git-send-email-sr@denx.de> Message-ID: <20080905113043.9C2A92489D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefan Roese, In message <1220604466-22538-1-git-send-email-sr@denx.de> you wrote: > 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 > --- > common/devices.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, applied. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Pardon me for breathing, which I never do anyway so I don't know why I bother to say it, oh God, I'm so depressed. Here's another of those self-satisfied doors. Life! Don't talk to me about life." - Marvin the Paranoid Android