Skip to content
Snippets Groups Projects
Commit 4a74298c authored by Hans de Goede's avatar Hans de Goede Committed by Tom Rini
Browse files

serial-uclass: Fix compilation error

parent a79c911f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment