From: Mathias Krause Date: Wed, 25 Mar 2015 21:16:24 +0000 (+0100) Subject: thermal/intel_powerclamp: add __init / __exit annotations X-Git-Tag: omap-for-v4.2/soc-pt1-take2~15^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d2b6e4a9ebc2907e4a64fa240d8b67c7051e997;p=pandora-kernel.git thermal/intel_powerclamp: add __init / __exit annotations Mark the module init / exit functions with __init / __exit accodingly. This allows making the intel_powerclamp_ids[] array __initconst, too, as it only gets referenced from powerclamp_probe(). This is safe as file2alias doesn't care about the section, but the symbol name for the MODULE_DEVICE_TABLE alias. Cc: Arjan van de Ven Cc: Jacob Pan Signed-off-by: Mathias Krause Acked-by: Jacob Pan Acked-by: Jacob Pan Signed-off-by: Zhang Rui --- Reading git-diff-tree failed