diff options
author | syed rafiuddin <srafiuddin@nvidia.com> | 2011-09-27 14:45:58 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2011-09-27 15:16:03 -0700 |
commit | 90f2718b9a6f0c368daa37c5acd4256ead1c51cc (patch) | |
tree | f7f667a01bbedc59be63c7417d559ac77bc0ee96 | |
parent | 9b52673ae044ad7d54f287da8d59c530bf5439a0 (diff) |
arm: tegra: enterprise: Register gpadc driver for tps8003x.
Registering gpadc driver through tps80031.
bug 872697
Change-Id: I459f553ac3930593e5b1a0761d0e8ba3161e76ca
Reviewed-on: http://git-master/r/52636
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise-power.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-power.c b/arch/arm/mach-tegra/board-enterprise-power.c index a7eb436796db..4bfc0cc1b745 100644 --- a/arch/arm/mach-tegra/board-enterprise-power.c +++ b/arch/arm/mach-tegra/board-enterprise-power.c @@ -265,6 +265,10 @@ static struct tps80031_bg_platform_data battery_gauge_data = { .name = "tps80031-battery-gauge", \ .platform_data = &battery_gauge_data, \ } +#define TPS_GPADC() \ + { \ + .name = "tps80031-gpadc", \ + } static struct tps80031_subdev_info tps80031_devs[] = { TPS_REG(VIO, vio), @@ -286,6 +290,7 @@ static struct tps80031_subdev_info tps80031_devs[] = { TPS_RTC(), TPS_BATTERY(), TPS_BATTERY_GAUGE(), + TPS_GPADC(), }; struct tps80031_32kclock_plat_data clk32k_pdata = { |