mirror of
https://github.com/apache/nuttx.git
synced 2026-08-04 05:39:01 +00:00
i.MX6: Fix a wrong parameter passed when calling irq_attach() in imx_serial.c
This commit is contained in:
parent
e6a8476382
commit
93a2d52b56
1 changed files with 1 additions and 1 deletions
|
|
@ -595,7 +595,7 @@ static int imx_attach(struct uart_dev_s *dev)
|
|||
|
||||
/* Attach and enable the IRQ */
|
||||
|
||||
ret = irq_attach(priv->irq, imx_interrupt, priv);
|
||||
ret = irq_attach(priv->irq, imx_interrupt, dev);
|
||||
if (ret == OK)
|
||||
{
|
||||
/* Configure as a (high) level interrupt */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue