diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-05-09 18:35:23 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-05-20 00:27:12 -0400 |
commit | d195f7bebc14ece71bf11d09f1726ee6f6b4f4b9 (patch) | |
tree | e658e8048bea0af3bf3f2a88d94a56f5487a5e2c /drivers/spi | |
parent | 7dfd2bd70228d1f8d468d58cb3d12ecd618479ed (diff) |
spi/topcliff: use correct __devexit_p annotation
__devexit functions are discarded when CONFIG_HOTPLUG
is not set, so the symbol needs to be referenced carefully.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-topcliff-pch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-topcliff-pch.c b/drivers/spi/spi-topcliff-pch.c index ec47d3bdfd13..77c4562ac9d3 100644 --- a/drivers/spi/spi-topcliff-pch.c +++ b/drivers/spi/spi-topcliff-pch.c | |||
@@ -1779,7 +1779,7 @@ static struct pci_driver pch_spi_pcidev_driver = { | |||
1779 | .name = "pch_spi", | 1779 | .name = "pch_spi", |
1780 | .id_table = pch_spi_pcidev_id, | 1780 | .id_table = pch_spi_pcidev_id, |
1781 | .probe = pch_spi_probe, | 1781 | .probe = pch_spi_probe, |
1782 | .remove = pch_spi_remove, | 1782 | .remove = __devexit_p(pch_spi_remove), |
1783 | .suspend = pch_spi_suspend, | 1783 | .suspend = pch_spi_suspend, |
1784 | .resume = pch_spi_resume, | 1784 | .resume = pch_spi_resume, |
1785 | }; | 1785 | }; |