aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
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
parentab4eb8b098c7591459b066cec0325a63792e463b (diff)
downloadkernel_samsung_smdk4412-4c23c8da96de1af7ed88ee5258af613e8c03c3ad.zip
kernel_samsung_smdk4412-4c23c8da96de1af7ed88ee5258af613e8c03c3ad.tar.gz
kernel_samsung_smdk4412-4c23c8da96de1af7ed88ee5258af613e8c03c3ad.tar.bz2
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')
-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 de7896f..2def4e1 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",
},