diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-10-10 18:30:17 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-10 12:37:59 -0400 |
commit | 4a74298c54272f1b0397826072c193158d3e7f14 (patch) | |
tree | 0115b894e007edf2b8987758fc5ea8a695be8954 /drivers | |
parent | a79c911f350f481f3cb64c65f1b71aa32515275e (diff) | |
download | u-boot-imx-4a74298c54272f1b0397826072c193158d3e7f14.zip u-boot-imx-4a74298c54272f1b0397826072c193158d3e7f14.tar.gz u-boot-imx-4a74298c54272f1b0397826072c193158d3e7f14.tar.bz2 |
serial-uclass: Fix compilation error
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/serial-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |