ARM: Tegra: Harmony: Fix conflicting GPIO numbering
authorStephen Warren <swarren@nvidia.com>
Tue, 31 May 2011 21:14:07 +0000 (15:14 -0600)
committerColin Cross <ccross@android.com>
Sat, 4 Jun 2011 22:51:52 +0000 (15:51 -0700)
Currently, both the WM8903 and TPS6586x chips attempt to register with
gpiolib using the same GPIO numbers. This causes the audio driver to
fail to initialize.

To solve this, add a define to board-harmony.h for the TPS6586x, and make
board-harmony-power.c use this define, instead of directly referencing
TEGRA_NR_GPIOS.

This fixes a regression introduced by commit
6f168f2fa60f87e85e0df25e87e2372f22f5eb7c.
ARM: tegra: harmony: initialize the TPS65862 PMIC

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Colin Cross <ccross@android.com>

No differences found