regulator: use linear_ranges helper
[linux-2.6-microblaze.git] / drivers / regulator / twl6030-regulator.c
index b8100c3..f7db250 100644 (file)
@@ -495,7 +495,7 @@ static const struct regulator_ops twlsmps_ops = {
 };
 
 /*----------------------------------------------------------------------*/
-static const struct regulator_linear_range twl6030ldo_linear_range[] = {
+static const struct linear_range twl6030ldo_linear_range[] = {
        REGULATOR_LINEAR_RANGE(0, 0, 0, 0),
        REGULATOR_LINEAR_RANGE(1000000, 1, 24, 100000),
        REGULATOR_LINEAR_RANGE(2750000, 31, 31, 0),