git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5d7bb3d
)
ARM: OMAP2+: Fix devexit for smartreflex when CONFIG_HOTPLUG is not set
author
Tony Lindgren
<tony@atomide.com>
Thu, 23 Feb 2012 22:55:40 +0000
(14:55 -0800)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 15 May 2016 12:43:21 +0000
(15:43 +0300)
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>
arch/arm/mach-omap2/smartreflex.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/smartreflex.c
b/arch/arm/mach-omap2/smartreflex.c
index
ed3b7bd
..
b769cb3
100644
(file)
--- 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)
}
static struct platform_driver smartreflex_driver = {
- .remove =
omap_sr_remove
,
+ .remove =
__devexit_p(omap_sr_remove)
,
.driver = {
.name = "smartreflex",
},