summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-au1550.c
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@gmail.com>2014-08-19 19:18:44 +0200
committerMark Brown <broonie@linaro.org>2014-08-19 23:17:57 +0200
commit61a2381c7b28255b1b76405827da47104a3913a0 (patch)
tree8ad7c10626b7881ff752e271cd7d8f83d805495e /drivers/spi/spi-au1550.c
parentLinux 3.17-rc1 (diff)
downloadlinux-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/spi/spi-au1550.c')
-rw-r--r--drivers/spi/spi-au1550.c2
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);