aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/dw_spi_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/dw_spi_pci.c')
-rw-r--r--drivers/spi/dw_spi_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/dw_spi_pci.c b/drivers/spi/dw_spi_pci.c
index 34ba69161734..7980f1443ce1 100644
--- a/drivers/spi/dw_spi_pci.c
+++ b/drivers/spi/dw_spi_pci.c
@@ -98,6 +98,7 @@ static void __devexit spi_pci_remove(struct pci_dev *pdev)
98 struct dw_spi_pci *dwpci = pci_get_drvdata(pdev); 98 struct dw_spi_pci *dwpci = pci_get_drvdata(pdev);
99 99
100 pci_set_drvdata(pdev, NULL); 100 pci_set_drvdata(pdev, NULL);
101 dw_spi_remove_host(&dwpci->dws);
101 iounmap(dwpci->dws.regs); 102 iounmap(dwpci->dws.regs);
102 pci_release_region(pdev, 0); 103 pci_release_region(pdev, 0);
103 kfree(dwpci); 104 kfree(dwpci);