mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
Merged in masayuki2009/nuttx.nuttx/test_with_qemu (pull request #389)
i.MX6: Fix a wrong parameter passed when calling irq_attach() in imx_serial.c Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
@@ -595,7 +595,7 @@ static int imx_attach(struct uart_dev_s *dev)
|
|||||||
|
|
||||||
/* Attach and enable the IRQ */
|
/* Attach and enable the IRQ */
|
||||||
|
|
||||||
ret = irq_attach(priv->irq, imx_interrupt, priv);
|
ret = irq_attach(priv->irq, imx_interrupt, dev);
|
||||||
if (ret == OK)
|
if (ret == OK)
|
||||||
{
|
{
|
||||||
/* Configure as a (high) level interrupt */
|
/* Configure as a (high) level interrupt */
|
||||||
|
|||||||
Reference in New Issue
Block a user