kernel/edac: constify function
PATCH 1/1 kernel/edac: constify function
Attached patch will const-ify a function in the edac code.
Patch is an extract from grsecurity. Please apply.
Signed-off-by Hanno Boeck <[email protected]>
---
drivers/edac/edac_mc_sysfs.c +1 -1
@@ -761,7 +761,7 @@ }/* Intermediate show/store table */ -static struct sysfs_ops inst_grp_ops = { +static const struct sysfs_ops inst_grp_ops = { .show = inst_grp_show, .store = inst_grp_store };