diff options
-rw-r--r-- | drivers/edac/edac_mc_sysfs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c index f6e81b285b4a..67610a6ebf87 100644 --- a/drivers/edac/edac_mc_sysfs.c +++ b/drivers/edac/edac_mc_sysfs.c | |||
@@ -327,17 +327,17 @@ static struct device_attribute *dynamic_csrow_dimm_attr[] = { | |||
327 | }; | 327 | }; |
328 | 328 | ||
329 | /* possible dynamic channel ce_count attribute files */ | 329 | /* possible dynamic channel ce_count attribute files */ |
330 | DEVICE_CHANNEL(ch0_ce_count, S_IRUGO | S_IWUSR, | 330 | DEVICE_CHANNEL(ch0_ce_count, S_IRUGO, |
331 | channel_ce_count_show, NULL, 0); | 331 | channel_ce_count_show, NULL, 0); |
332 | DEVICE_CHANNEL(ch1_ce_count, S_IRUGO | S_IWUSR, | 332 | DEVICE_CHANNEL(ch1_ce_count, S_IRUGO, |
333 | channel_ce_count_show, NULL, 1); | 333 | channel_ce_count_show, NULL, 1); |
334 | DEVICE_CHANNEL(ch2_ce_count, S_IRUGO | S_IWUSR, | 334 | DEVICE_CHANNEL(ch2_ce_count, S_IRUGO, |
335 | channel_ce_count_show, NULL, 2); | 335 | channel_ce_count_show, NULL, 2); |
336 | DEVICE_CHANNEL(ch3_ce_count, S_IRUGO | S_IWUSR, | 336 | DEVICE_CHANNEL(ch3_ce_count, S_IRUGO, |
337 | channel_ce_count_show, NULL, 3); | 337 | channel_ce_count_show, NULL, 3); |
338 | DEVICE_CHANNEL(ch4_ce_count, S_IRUGO | S_IWUSR, | 338 | DEVICE_CHANNEL(ch4_ce_count, S_IRUGO, |
339 | channel_ce_count_show, NULL, 4); | 339 | channel_ce_count_show, NULL, 4); |
340 | DEVICE_CHANNEL(ch5_ce_count, S_IRUGO | S_IWUSR, | 340 | DEVICE_CHANNEL(ch5_ce_count, S_IRUGO, |
341 | channel_ce_count_show, NULL, 5); | 341 | channel_ce_count_show, NULL, 5); |
342 | 342 | ||
343 | /* Total possible dynamic ce_count attribute file table */ | 343 | /* Total possible dynamic ce_count attribute file table */ |