From: Mathias Krause Date: Wed, 16 Jul 2014 17:43:04 +0000 (+0200) Subject: acer-wmi: Mark init data and code as such X-Git-Tag: omap-for-v3.17/fixes-against-rc2~44^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76d51dd9a07abcfaf1e3fe67a9656238a89b771f;p=pandora-kernel.git acer-wmi: Mark init data and code as such Quite a lot of code and data of acer-wmi.c is only ever used during initialization. Mark those accordingly -- and constify, where appropriate -- so the memory can be released afterwards. All in all those changes move ~10 kB of code and data to the .init sections, marking them for release after initialization has finished. Signed-off-by: Mathias Krause Cc: "Lee, Chun-Yi" Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed