From: Uwe Kleine-König Date: Thu, 29 Mar 2012 21:12:32 +0000 (+0200) Subject: mtd: mark const init data with __initconst instead of __initdata X-Git-Tag: v3.5-rc1~8^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d56b9d65813dd6a184efc5e7955d7e181a853c0;p=pandora-kernel.git mtd: mark const init data with __initconst instead of __initdata As long as there is no other non-const variable marked __initdata in the same compilation unit it doesn't hurt. If there were one however compilation would fail with error: $variablename causes a section type conflict because a section containing const variables is marked read only and so cannot contain non-const variables. Signed-off-by: Uwe Kleine-König Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed