[AS7326-5X] Fix code bug for led drv (#8555)
Signed-off-by: Jostar Yang <jostar_yang@accton.com.tw>
This commit is contained in:
parent
74e790c89f
commit
76363cfa16
@ -146,7 +146,7 @@ static int accton_getLedReg(enum led_type type, u8 *reg)
|
||||
int i;
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(led_reg_map); i++) {
|
||||
if(led_reg_map[i].types ==type)) {
|
||||
if(led_reg_map[i].types ==type) {
|
||||
*reg = led_reg_map[i].reg_addr;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user