Commit 4c23c8da authored by Arnd Bergmann's avatar Arnd Bergmann

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: default avatarArnd Bergmann <arnd@arndb.de>
parent ab4eb8b0
...@@ -723,7 +723,7 @@ static int __devexit omap_dm_timer_remove(struct platform_device *pdev) ...@@ -723,7 +723,7 @@ static int __devexit omap_dm_timer_remove(struct platform_device *pdev)
static struct platform_driver omap_dm_timer_driver = { static struct platform_driver omap_dm_timer_driver = {
.probe = omap_dm_timer_probe, .probe = omap_dm_timer_probe,
.remove = omap_dm_timer_remove, .remove = __devexit_p(omap_dm_timer_remove),
.driver = { .driver = {
.name = "omap_timer", .name = "omap_timer",
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment