power: tps80031-battery-gauge: Add battery gauge driver
syed rafiuddin [Mon, 22 Aug 2011 11:16:17 +0000 (16:16 +0530)]
Adding battery-gauge driver for TPS8003x controller

bug 841080

Original-Change-Id: Id65c3de88e6893005a8d7590fc7273cd7c43a1b3
Reviewed-on: http://git-master/r/48428
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>

Rebase-Id: R24e23b84f30270e8071d949bf583fc174a63e9dd

include/linux/mfd/tps80031.h

index e62cfb3..994b38e 100644 (file)
@@ -116,6 +116,10 @@ struct tps80031_platform_data {
        struct tps80031_32kclock_plat_data *clk32k_pdata;
 };
 
+struct tps80031_bg_platform_data {
+       int irq_base;
+};
+
 /*
  * NOTE: the functions below are not intended for use outside
  * of the TPS80031 sub-device drivers