| .. | .. |
|---|
| 11 | 11 | .list_voltage = regulator_list_voltage_linear_range, |
|---|
| 12 | 12 | }; |
|---|
| 13 | 13 | |
|---|
| 14 | | -static const struct regulator_linear_range pg86x_buck1_ranges[] = { |
|---|
| 14 | +static const struct linear_range pg86x_buck1_ranges[] = { |
|---|
| 15 | 15 | REGULATOR_LINEAR_RANGE( 0, 0, 10, 0), |
|---|
| 16 | 16 | REGULATOR_LINEAR_RANGE(1000000, 11, 34, 25000), |
|---|
| 17 | 17 | REGULATOR_LINEAR_RANGE(1600000, 35, 47, 50000), |
|---|
| 18 | 18 | }; |
|---|
| 19 | 19 | |
|---|
| 20 | | -static const struct regulator_linear_range pg86x_buck2_ranges[] = { |
|---|
| 20 | +static const struct linear_range pg86x_buck2_ranges[] = { |
|---|
| 21 | 21 | REGULATOR_LINEAR_RANGE( 0, 0, 15, 0), |
|---|
| 22 | 22 | REGULATOR_LINEAR_RANGE(1000000, 16, 39, 25000), |
|---|
| 23 | 23 | REGULATOR_LINEAR_RANGE(1600000, 40, 52, 50000), |
|---|
| .. | .. |
|---|
| 84 | 84 | return 0; |
|---|
| 85 | 85 | } |
|---|
| 86 | 86 | |
|---|
| 87 | | -static const struct of_device_id pg86x_dt_ids [] = { |
|---|
| 87 | +static const struct of_device_id __maybe_unused pg86x_dt_ids[] = { |
|---|
| 88 | 88 | { .compatible = "marvell,88pg867" }, |
|---|
| 89 | 89 | { .compatible = "marvell,88pg868" }, |
|---|
| 90 | 90 | { } |
|---|