mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
Staging: Octeon: Use symbolic values for irq numbers.
In addition to being magic numbers, the irq number passed to free_irq is incorrect. We need to use the correct symbolic value instead. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
9326e3614d
commit
aabb89d6fa
1 changed files with 1 additions and 1 deletions
|
@ -317,6 +317,6 @@ void cvm_oct_spi_uninit(struct net_device *dev)
|
|||
cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), 0);
|
||||
cvmx_write_csr(CVMX_STXX_INT_MSK(interface), 0);
|
||||
}
|
||||
free_irq(8 + 46, &number_spi_ports);
|
||||
free_irq(OCTEON_IRQ_RML, &number_spi_ports);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue