hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/drivers/regulator/88pg86x.c
....@@ -11,13 +11,13 @@
1111 .list_voltage = regulator_list_voltage_linear_range,
1212 };
1313
14
-static const struct regulator_linear_range pg86x_buck1_ranges[] = {
14
+static const struct linear_range pg86x_buck1_ranges[] = {
1515 REGULATOR_LINEAR_RANGE( 0, 0, 10, 0),
1616 REGULATOR_LINEAR_RANGE(1000000, 11, 34, 25000),
1717 REGULATOR_LINEAR_RANGE(1600000, 35, 47, 50000),
1818 };
1919
20
-static const struct regulator_linear_range pg86x_buck2_ranges[] = {
20
+static const struct linear_range pg86x_buck2_ranges[] = {
2121 REGULATOR_LINEAR_RANGE( 0, 0, 15, 0),
2222 REGULATOR_LINEAR_RANGE(1000000, 16, 39, 25000),
2323 REGULATOR_LINEAR_RANGE(1600000, 40, 52, 50000),
....@@ -84,7 +84,7 @@
8484 return 0;
8585 }
8686
87
-static const struct of_device_id pg86x_dt_ids [] = {
87
+static const struct of_device_id __maybe_unused pg86x_dt_ids[] = {
8888 { .compatible = "marvell,88pg867" },
8989 { .compatible = "marvell,88pg868" },
9090 { }