a22:fix buiding error
authorlw <lw@rock-chips.com>
Wed, 1 Feb 2012 06:43:23 +0000 (14:43 +0800)
committerlw <lw@rock-chips.com>
Wed, 1 Feb 2012 06:43:23 +0000 (14:43 +0800)
arch/arm/configs/rk29_a22_defconfig
drivers/power/wm831x_power.c

index f2c1803f802ce752866fff6464a81c29246fcf76..3e235b9e99c2670b305dd70385e8fb88db22d48e 100755 (executable)
@@ -289,6 +289,9 @@ CONFIG_LCD_NT35510=y
 CONFIG_LOGO=y
 # CONFIG_LOGO_LINUX_MONO is not set
 # CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_CHARGER_CLUT224=y
+CONFIG_LOGO_G3_CLUT224=y
 CONFIG_SOUND=y
 CONFIG_SND=y
 # CONFIG_SND_SUPPORT_OLD_API is not set
index 263ad8bcad1697ff41d389f5a1f4c852c65f163f..3ee30132f446813a56a5de1f5630c26cda3191c2 100755 (executable)
@@ -1130,6 +1130,7 @@ static __devinit int wm831x_power_probe(struct platform_device *pdev)
        }
 
 #ifdef CONFIG_WM831X_WITH_BATTERY
+       int i;
        for (i = 0; i < ARRAY_SIZE(wm831x_bat_irqs); i++) {
                irq = platform_get_irq_byname(pdev, wm831x_bat_irqs[i]);
                ret = request_threaded_irq(irq, NULL, wm831x_bat_irq,
@@ -1197,6 +1198,7 @@ static __devexit int wm831x_power_remove(struct platform_device *pdev)
        struct wm831x_power *wm831x_power = platform_get_drvdata(pdev);
        int irq;
 #ifdef CONFIG_WM831X_WITH_BATTERY
+       int i;
        for (i = 0; i < ARRAY_SIZE(wm831x_bat_irqs); i++) {
                irq = platform_get_irq_byname(pdev, wm831x_bat_irqs[i]);
                free_irq(irq, wm831x_power);