projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab4eb8b
)
ARM: omap: use __devexit_p in dmtimer driver
author
Arnd Bergmann
<arnd@arndb.de>
Sat, 1 Oct 2011 16:42:47 +0000
(18:42 +0200)
committer
Arnd Bergmann
<arnd@arndb.de>
Sat, 1 Oct 2011 16:46:20 +0000
(18:46 +0200)
The omap_dm_timer_remove function gets discarded when
CONFIG_HOTPLUG is not set, so we must not reference it
unconditionally.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/plat-omap/dmtimer.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/dmtimer.c
b/arch/arm/plat-omap/dmtimer.c
index de7896fd9b33e541af74537b2d5a6a8d4868bf52..2def4e1990edca55e1fa67efd505f7efa7a25c33 100644
(file)
--- a/
arch/arm/plat-omap/dmtimer.c
+++ b/
arch/arm/plat-omap/dmtimer.c
@@
-723,7
+723,7
@@
static int __devexit omap_dm_timer_remove(struct platform_device *pdev)
static struct platform_driver omap_dm_timer_driver = {
.probe = omap_dm_timer_probe,
- .remove =
omap_dm_timer_remove
,
+ .remove =
__devexit_p(omap_dm_timer_remove)
,
.driver = {
.name = "omap_timer",
},