[devices]: Fix cpld sysfs permisson error for accton devices (#2457)
This commit is contained in:
parent
16b202f5ba
commit
81467ae74a
2
platform/broadcom/sonic-platform-modules-accton/common/modules/accton_i2c_cpld.c
Normal file → Executable file
2
platform/broadcom/sonic-platform-modules-accton/common/modules/accton_i2c_cpld.c
Normal file → Executable 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[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user