提交 4a74298c 编写于 作者: H Hans de Goede 提交者: Tom Rini

serial-uclass: Fix compilation error

Signed-off-by: NHans de Goede <hdegoede@redhat.com>
上级 a79c911f
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册