diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-03 19:16:45 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-09 16:34:12 +0100 |
commit | 80ea2065e186d8d69b617770ae7fe51dfea6ba90 (patch) | |
tree | 9914b813d28db74d5843d8328d9db4d4aa05de08 /arch/arm/mach-sa1100/collie.c | |
parent | ARM: sa11x0: fix sleep entry (diff) | |
download | linux-80ea2065e186d8d69b617770ae7fe51dfea6ba90.tar.xz linux-80ea2065e186d8d69b617770ae7fe51dfea6ba90.zip |
ARM: sa11x0: fix section mismatch warnings
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>
Diffstat (limited to 'arch/arm/mach-sa1100/collie.c')
0 files changed, 0 insertions, 0 deletions