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
(parent:
f3bb3d7
)
ARM: sa11x0: fix section mismatch warnings
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 3 Feb 2012 18:16:45 +0000
(18:16 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:34:12 +0000
(15:34 +0000)
Neponset calls sa1110_mb_disable() from __devinit code, but
sa1110_mb_disable() is marked __init, and so causes a section
mismatch warning.
As sa1110_mb_enable() and sa1110_mb_disable() need to be callable
from suspend/resume paths as well, they must not be marked __init
or __devinit.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
No differences found