From: Russell King Date: Fri, 3 Feb 2012 18:16:45 +0000 (+0000) Subject: ARM: sa11x0: fix section mismatch warnings X-Git-Tag: v3.4-rc1~83^2^3~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80ea2065e186d8d69b617770ae7fe51dfea6ba90;p=pandora-kernel.git 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 --- Reading git-diff-tree failed