From: Mathias Krause Date: Wed, 25 Mar 2015 21:15:14 +0000 (+0100) Subject: intel_idle: mark cpu id array as __initconst X-Git-Tag: omap-for-v4.1/fixes-rc1~144^2~3^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5cdc3c4c22fce5a187b51736f3d0dc3e6cbe282;p=pandora-kernel.git intel_idle: mark cpu id array as __initconst The CPU ids are only tested in intel_idle_probe() which is itself an __init function. For the MODULE_DEVICE_TABLE() file2alias doesn't care about the section, just about the symbol name. So it's safe to mark the cpu id array as __initconst so its memory can be released after initialization is done. Signed-off-by: Mathias Krause Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed