Skip to content
Commit c32dc040 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Song Liu
Browse files

md: Constify attribute_group structs



The attribute_group structs are never modified, they're only passed to
sysfs_create_group() and sysfs_remove_group(). Make them const to allow
the compiler to put them in read-only memory.

Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: default avatarSong Liu <song@kernel.org>
parent 608f52e3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment