diff options
author | David Daney <ddaney@caviumnetworks.com> | 2009-09-03 16:10:47 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-11-23 18:55:34 +0000 |
commit | aabb89d6fa4c70d77fe180ee794f857decde4010 (patch) | |
tree | 7ce8ef697679f9f20c39b127c2820da6e2b78afe /drivers/staging | |
parent | 9326e3614d72e40ea8d910fed829ec72c9b70798 (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/octeon/ethernet-spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon/ethernet-spi.c b/drivers/staging/octeon/ethernet-spi.c index 66190b0cb68..00dc0f4bad1 100644 --- a/drivers/staging/octeon/ethernet-spi.c +++ b/drivers/staging/octeon/ethernet-spi.c @@ -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); } } |