diff options
Diffstat (limited to 'drivers/regulator/ab3100.c')
-rw-r--r-- | drivers/regulator/ab3100.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/regulator/ab3100.c b/drivers/regulator/ab3100.c index 156979d1f41e..49aeee823a25 100644 --- a/drivers/regulator/ab3100.c +++ b/drivers/regulator/ab3100.c | |||
@@ -521,30 +521,35 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
521 | .name = "LDO_E", | 521 | .name = "LDO_E", |
522 | .id = AB3100_LDO_E, | 522 | .id = AB3100_LDO_E, |
523 | .ops = ®ulator_ops_variable_sleepable, | 523 | .ops = ®ulator_ops_variable_sleepable, |
524 | .n_voltages = ARRAY_SIZE(ldo_e_buck_typ_voltages), | ||
524 | .type = REGULATOR_VOLTAGE, | 525 | .type = REGULATOR_VOLTAGE, |
525 | }, | 526 | }, |
526 | { | 527 | { |
527 | .name = "LDO_F", | 528 | .name = "LDO_F", |
528 | .id = AB3100_LDO_F, | 529 | .id = AB3100_LDO_F, |
529 | .ops = ®ulator_ops_variable, | 530 | .ops = ®ulator_ops_variable, |
531 | .n_voltages = ARRAY_SIZE(ldo_f_typ_voltages), | ||
530 | .type = REGULATOR_VOLTAGE, | 532 | .type = REGULATOR_VOLTAGE, |
531 | }, | 533 | }, |
532 | { | 534 | { |
533 | .name = "LDO_G", | 535 | .name = "LDO_G", |
534 | .id = AB3100_LDO_G, | 536 | .id = AB3100_LDO_G, |
535 | .ops = ®ulator_ops_variable, | 537 | .ops = ®ulator_ops_variable, |
538 | .n_voltages = ARRAY_SIZE(ldo_g_typ_voltages), | ||
536 | .type = REGULATOR_VOLTAGE, | 539 | .type = REGULATOR_VOLTAGE, |
537 | }, | 540 | }, |
538 | { | 541 | { |
539 | .name = "LDO_H", | 542 | .name = "LDO_H", |
540 | .id = AB3100_LDO_H, | 543 | .id = AB3100_LDO_H, |
541 | .ops = ®ulator_ops_variable, | 544 | .ops = ®ulator_ops_variable, |
545 | .n_voltages = ARRAY_SIZE(ldo_h_typ_voltages), | ||
542 | .type = REGULATOR_VOLTAGE, | 546 | .type = REGULATOR_VOLTAGE, |
543 | }, | 547 | }, |
544 | { | 548 | { |
545 | .name = "LDO_K", | 549 | .name = "LDO_K", |
546 | .id = AB3100_LDO_K, | 550 | .id = AB3100_LDO_K, |
547 | .ops = ®ulator_ops_variable, | 551 | .ops = ®ulator_ops_variable, |
552 | .n_voltages = ARRAY_SIZE(ldo_k_typ_voltages), | ||
548 | .type = REGULATOR_VOLTAGE, | 553 | .type = REGULATOR_VOLTAGE, |
549 | }, | 554 | }, |
550 | { | 555 | { |
@@ -557,6 +562,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
557 | .name = "BUCK", | 562 | .name = "BUCK", |
558 | .id = AB3100_BUCK, | 563 | .id = AB3100_BUCK, |
559 | .ops = ®ulator_ops_variable_sleepable, | 564 | .ops = ®ulator_ops_variable_sleepable, |
565 | .n_voltages = ARRAY_SIZE(ldo_e_buck_typ_voltages), | ||
560 | .type = REGULATOR_VOLTAGE, | 566 | .type = REGULATOR_VOLTAGE, |
561 | }, | 567 | }, |
562 | }; | 568 | }; |