diff options
Diffstat (limited to 'drivers/edac/edac_mc_sysfs.c')
| -rw-r--r-- | drivers/edac/edac_mc_sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c index e1d4ce083481..88840e9fa3e0 100644 --- a/drivers/edac/edac_mc_sysfs.c +++ b/drivers/edac/edac_mc_sysfs.c | |||
| @@ -245,7 +245,7 @@ static ssize_t csrowdev_store(struct kobject *kobj, struct attribute *attr, | |||
| 245 | return -EIO; | 245 | return -EIO; |
| 246 | } | 246 | } |
| 247 | 247 | ||
| 248 | static struct sysfs_ops csrowfs_ops = { | 248 | static const struct sysfs_ops csrowfs_ops = { |
| 249 | .show = csrowdev_show, | 249 | .show = csrowdev_show, |
| 250 | .store = csrowdev_store | 250 | .store = csrowdev_store |
| 251 | }; | 251 | }; |
| @@ -575,7 +575,7 @@ static ssize_t mcidev_store(struct kobject *kobj, struct attribute *attr, | |||
| 575 | } | 575 | } |
| 576 | 576 | ||
| 577 | /* Intermediate show/store table */ | 577 | /* Intermediate show/store table */ |
| 578 | static struct sysfs_ops mci_ops = { | 578 | static const struct sysfs_ops mci_ops = { |
| 579 | .show = mcidev_show, | 579 | .show = mcidev_show, |
| 580 | .store = mcidev_store | 580 | .store = mcidev_store |
| 581 | }; | 581 | }; |
