diff options
author | Manuel Lauss <manuel.lauss@gmail.com> | 2014-08-19 19:18:44 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-19 23:17:57 +0200 |
commit | 61a2381c7b28255b1b76405827da47104a3913a0 (patch) | |
tree | 8ad7c10626b7881ff752e271cd7d8f83d805495e /drivers | |
parent | Linux 3.17-rc1 (diff) | |
download | linux-61a2381c7b28255b1b76405827da47104a3913a0.tar.xz linux-61a2381c7b28255b1b76405827da47104a3913a0.zip |
spi: spi-au1550: fix build failure
Fix a build failure introduced with commit 30670539b86
(spi: au1550: Fix bug in deallocation of memory)
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/spi-au1550.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c index 40c3d43c9292..f40b34cdf2fc 100644 --- a/drivers/spi/spi-au1550.c +++ b/drivers/spi/spi-au1550.c @@ -945,7 +945,7 @@ static int au1550_spi_remove(struct platform_device *pdev) spi_bitbang_stop(&hw->bitbang); free_irq(hw->irq, hw); iounmap((void __iomem *)hw->regs); - release_mem_region(r->start, sizeof(psc_spi_t)); + release_mem_region(hw->ioarea->start, sizeof(psc_spi_t)); if (hw->usedma) { au1550_spi_dma_rxtmp_free(hw); |