Revert "Revert "regulator: tps80031: rename regulator-name enums""
[linux-2.6.git] / arch / arm / mach-tegra / board-enterprise-power.c
index 3cd6b44..2d95864 100644 (file)
@@ -340,7 +340,7 @@ static struct tps80031_bg_platform_data battery_gauge_data = {
 
 #define TPS_REG(_id, _data, _sname)                            \
        {                                                       \
-               .id      = TPS80031_ID_##_id,                   \
+               .id      = TPS80031_REGULATOR_##_id,                    \
                .name   = "tps80031-regulator",                 \
                .platform_data  = &pdata_##_data##_##_sname,    \
        }