Skip to content

Commit

Permalink
ARM: OMAP2+: Fix devexit for smartreflex when CONFIG_HOTPLUG is not set
Browse files Browse the repository at this point in the history
Otherwise we get:

`omap_sr_remove' referenced in section `.data' of arch/arm/mach-omap2/built-in.o:
defined in discarded section `.devexit.text' of arch/arm/mach-omap2/built-in.o

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Feb 24, 2012
1 parent 38232f7 commit 149f1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/smartreflex.c
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ static int __devexit omap_sr_remove(struct platform_device *pdev)
}

static struct platform_driver smartreflex_driver = {
.remove = omap_sr_remove,
.remove = __devexit_p(omap_sr_remove),
.driver = {
.name = "smartreflex",
},
Expand Down

0 comments on commit 149f1d5

Please sign in to comment.