spi0: dw_spi: add a missed dw_spi_remove_host() in exit sequence
PATCH 2/3 spi0: dw_spi: add a missed dw_spi_remove_host() in exit sequence
Quoted 1 line
From
476cd29cdde8764b8491128f15c7739547af514fMon Sep 17 00:00:00 2001
From: Feng Tang <[email protected]>
Date: Mon, 28 Dec 2009 11:35:03 +0800
Subject: [PATCH 2/3] spi0: dw_spi: add a missed dw_spi_remove_host() in exit sequence
Signed-off-by Feng Tang <[email protected]>
--- drivers/spi/dw_spi_pci.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/spi/dw_spi_pci.c +1 -0
@@ -98,6 +98,7 @@ static void __devexit spi_pci_remove(struct pci_dev *pdev)struct dw_spi_pci *dwpci =pci_get_drvdata (pdev);pci_set_drvdata (pdev,NULL ); +dw_spi_remove_host (&dwpci->dws);iounmap (dwpci->dws.regs);pci_release_region (pdev,0 );kfree (dwpci);
Signature · 8 lines
1.6.0.4 ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev