summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/dmtimer.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-10-01 18:42:47 +0200
committerArnd Bergmann <arnd@arndb.de>2011-10-01 18:46:20 +0200
commit4c23c8da96de1af7ed88ee5258af613e8c03c3ad (patch)
tree568a33da89709cd2144c53acdc38cf853d952f81 /arch/arm/plat-omap/dmtimer.c
parentab4eb8b098c7591459b066cec0325a63792e463b (diff)
downloadblackbird-op-linux-4c23c8da96de1af7ed88ee5258af613e8c03c3ad.tar.gz
blackbird-op-linux-4c23c8da96de1af7ed88ee5258af613e8c03c3ad.zip
ARM: omap: use __devexit_p in dmtimer driver
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>
Diffstat (limited to 'arch/arm/plat-omap/dmtimer.c')
-rw-r--r--arch/arm/plat-omap/dmtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c
index de7896fd9b33..2def4e1990ed 100644
--- 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",
},
OpenPOWER on IntegriCloud