From: Uwe Kleine-König Date: Fri, 30 Mar 2012 20:05:04 +0000 (+0200) Subject: drivers/x86: mark const init data with __initconst instead of __initdata X-Git-Tag: v3.5-rc1~9^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=145047de994098dcc1a342af6444b2a7d64c4075;p=pandora-kernel.git drivers/x86: 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 Cc: Matthew Garrett Cc: Henrique de Moraes Holschuh Cc: platform-driver-x86@vger.kernel.org Cc: ibm-acpi-devel@lists.sourceforge.net Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed