projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dfd2bd
)
spi/topcliff: use correct __devexit_p annotation
author
Arnd Bergmann
<arnd@arndb.de>
Wed, 9 May 2012 22:35:23 +0000
(16:35 -0600)
committer
Grant Likely
<grant.likely@secretlab.ca>
Sun, 20 May 2012 04:27:12 +0000
(22:27 -0600)
__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>
drivers/spi/spi-topcliff-pch.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-topcliff-pch.c
b/drivers/spi/spi-topcliff-pch.c
index ec47d3bdfd13233b68774e59fedf6b77570c3c16..77c4562ac9d3a146f7417b204e0d42a060f982d8 100644
(file)
--- 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 = {
.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,
};