[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 lguohan
parent 4ed5cb4ef1
commit e67f1da9ba

View File

@ -194,7 +194,7 @@ struct attrs plain_common[] = {
struct base_attrs portly_attrs[] =
{
[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[] = {