diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-23 17:55:40 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-24 11:24:46 -0500 |
commit | 149f1d5c8d2fd6879cdf93ca70f1cb745e698a1e (patch) | |
tree | 3afc6cf36750614be2cb9af56450da5d82028133 /arch/arm/mach-omap2/smartreflex.c | |
parent | 38232f7bd112bba6dd65309a218f21d3171c84fd (diff) |
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: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/smartreflex.c')
-rw-r--r-- | arch/arm/mach-omap2/smartreflex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index 7e755bb0ffc4..47c77a1d932a 100644 --- a/arch/arm/mach-omap2/smartreflex.c +++ b/arch/arm/mach-omap2/smartreflex.c | |||
@@ -1012,7 +1012,7 @@ static int __devexit omap_sr_remove(struct platform_device *pdev) | |||
1012 | } | 1012 | } |
1013 | 1013 | ||
1014 | static struct platform_driver smartreflex_driver = { | 1014 | static struct platform_driver smartreflex_driver = { |
1015 | .remove = omap_sr_remove, | 1015 | .remove = __devexit_p(omap_sr_remove), |
1016 | .driver = { | 1016 | .driver = { |
1017 | .name = "smartreflex", | 1017 | .name = "smartreflex", |
1018 | }, | 1018 | }, |