[U-Boot] [PATCH] dm: serial: Fix breakage due to stdio changes

Tom Rini trini at ti.com
Tue Oct 14 10:48:47 CEST 2014


On Tue, Oct 14, 2014 at 09:34:38AM +0200, Simon Glass wrote:
> Hi Tom,
> 
> On 10 October 2014 05:06, Simon Glass <sjg at chromium.org> wrote:
> > Commit 32d0192 broke the sandbox build - fix it.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> >  drivers/serial/serial-uclass.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c
> > index fd010ca..6dde4ea 100644
> > --- a/drivers/serial/serial-uclass.c
> > +++ b/drivers/serial/serial-uclass.c
> > @@ -198,7 +198,7 @@ static int serial_pre_remove(struct udevice *dev)
> >  #ifdef CONFIG_SYS_STDIO_DEREGISTER
> >         struct serial_dev_priv *upriv = dev->uclass_priv;
> >
> > -       if (stdio_deregister_dev(upriv->sdev), 0)
> > +       if (stdio_deregister_dev(upriv->sdev, 0))
> >                 return -EPERM;
> >  #endif
> 
> Can you please pick up this one?

Arg, I thought I had already grabbed this one, sorry.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141014/69512b9e/attachment.pgp>


More information about the U-Boot mailing list