From: Mauro Carvalho Chehab Date: Tue, 10 Aug 2010 21:57:01 +0000 (-0300) Subject: i7core_edac: Properly mark const static vars as such X-Git-Tag: v2.6.37-rc1~108^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1288c18f48d9bf373dbed6b688cde36dc970b1ed;p=pandora-kernel.git i7core_edac: Properly mark const static vars as such There are two groups of sysfs attributes: one for rdimm and another for udimm. Instead of changing dynamically the unique static struct for handling udimm's, declare two vars and make them constant. This avoids the risk of having two or more memory controllers, each needing a different set of attributes. While here, use const on all places where it is applicable. Signed-off-by: Mauro Carvalho Chehab edac_core: use const for constant sysfs arguments Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed