Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d195f7be authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Grant Likely
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 7dfd2bd7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1779,7 +1779,7 @@ static struct pci_driver pch_spi_pcidev_driver = {
	.name = "pch_spi",
	.id_table = pch_spi_pcidev_id,
	.probe = pch_spi_probe,
	.remove = pch_spi_remove,
	.remove = __devexit_p(pch_spi_remove),
	.suspend = pch_spi_suspend,
	.resume = pch_spi_resume,
};