diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-01-17 17:01:07 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-01-17 10:17:36 -0700 |
commit | d95defaca7994ffff1ceb52f3011eb644dfe3274 (patch) | |
tree | 85daa94cc138d7c5d45e3e8266c434baa4f72b54 /drivers | |
parent | 672c54466d24994eb9633f993862c89539504a42 (diff) | |
download | linux-3.10-d95defaca7994ffff1ceb52f3011eb644dfe3274.tar.gz linux-3.10-d95defaca7994ffff1ceb52f3011eb644dfe3274.tar.bz2 linux-3.10-d95defaca7994ffff1ceb52f3011eb644dfe3274.zip |
spi/spi_sh_msiof: fix a wrong free_irq() parameter
Without this fix reloading of the driver is impossible.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/spi_sh_msiof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_sh_msiof.c b/drivers/spi/spi_sh_msiof.c index d93b66743ba..56f60c8ea0a 100644 --- a/drivers/spi/spi_sh_msiof.c +++ b/drivers/spi/spi_sh_msiof.c @@ -635,7 +635,7 @@ static int sh_msiof_spi_remove(struct platform_device *pdev) ret = spi_bitbang_stop(&p->bitbang); if (!ret) { pm_runtime_disable(&pdev->dev); - free_irq(platform_get_irq(pdev, 0), sh_msiof_spi_irq); + free_irq(platform_get_irq(pdev, 0), p); iounmap(p->mapbase); clk_put(p->clk); spi_master_put(p->bitbang.master); |