Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 149f1d5c authored by Tony Lindgren's avatar Tony Lindgren
Browse files

ARM: OMAP2+: Fix devexit for smartreflex when CONFIG_HOTPLUG is not set



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: default avatarTony Lindgren <tony@atomide.com>
parent 38232f7b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",
	},