[devices]: Fix cpld sysfs permisson error for accton devices (#2457)

This commit is contained in:
jostar-yang 2019-01-18 00:56:46 +08:00 committed by Ying Xie
parent 16b202f5ba
commit 81467ae74a

View File

@ -194,7 +194,7 @@ struct attrs plain_common[] = {
struct base_attrs portly_attrs[] = struct base_attrs portly_attrs[] =
{ {
[SFP_PRESENT] = {"module_present", S_IRUGO, show_bit, NULL}, [SFP_PRESENT] = {"module_present", S_IRUGO, show_bit, NULL},
[SFP_RESET] = {"module_reset", S_IRUGO|S_IWUGO, show_bit, set_1bit}, [SFP_RESET] = {"module_reset", S_IRUGO|S_IWUSR, show_bit, set_1bit},
}; };
struct attrs as7712_port[] = { struct attrs as7712_port[] = {