summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-08-10 18:57:01 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-24 11:20:14 -0200
commit1288c18f48d9bf373dbed6b688cde36dc970b1ed (patch)
tree34c00383b8e6beee2651b6b5614875d503cd7939 /init
parent18c29002f95bc2f67c1c78d7fc7932843aa66657 (diff)
downloadlinux-1288c18f48d9bf373dbed6b688cde36dc970b1ed.tar.bz2
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 <mchehab@redhat.com> edac_core: use const for constant sysfs arguments Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions