]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Fix TWL4030 BCI compilation break
authorVikram Pandita <vikram.pandita@ti.com>
Thu, 21 Aug 2008 15:49:53 +0000 (21:19 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 5 Sep 2008 18:21:13 +0000 (11:21 -0700)
Fix following compilation error when enabling CONFIG_TWL4030_BCI_BATTERY

drivers/power/twl4030_bci_battery.c: In function 'twl4030_bci_battery_probe':
drivers/power/twl4030_bci_battery.c:911: error: dereferencing pointer to incomplete type

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/power/twl4030_bci_battery.c

index d30a0e426ec71aafb448b3b7b903ab0a4ae2660a..4e66a962555786c95ded991468d429c2cbf638f1 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/platform_device.h>
 #include <linux/i2c/twl4030.h>
 #include <linux/power_supply.h>
-#include <asm/arch/bci.h>
+#include <mach/bci.h>
 #include <linux/i2c/twl4030-madc.h>
 
 #define T2_BATTERY_VOLT                0x04