mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
serial-uclass: Fix compilation error
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
a79c911f35
commit
4a74298c54
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue