rk2928: tps65910: irq_base use IRQ_BOARD_BASE
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-rk2928 / board-rk2928-sdk-tps65910.c
index 1aa640396c34d2a900067103f9daa87350341b91..253c11c967a54c3cc7c8f1ab5b0e4eae65c00a08 100755 (executable)
@@ -303,6 +303,11 @@ static struct regulator_consumer_supply tps65910_smps2_supply[] = {
        {
                .supply = "vdd2",
        },
+       #if defined(CONFIG_MACH_RK2926_V86)
+       {
+               .supply = "vdd_core",
+       },
+      #endif
        
 };
 static struct regulator_consumer_supply tps65910_smps3_supply[] = {
@@ -556,7 +561,7 @@ void __sramfunc board_pmu_tps65910_resume(void)
 }
 static struct tps65910_board tps65910_data = {
        .irq    = (unsigned)TPS65910_HOST_IRQ,          
-       .irq_base = NR_GIC_IRQS + NR_GPIO_IRQS,
+       .irq_base = IRQ_BOARD_BASE,
        .gpio_base = TPS65910_GPIO_EXPANDER_BASE,
        
        .pre_init = tps65910_pre_init,