diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2011-03-22 14:27:12 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-03-24 17:50:54 -0700 |
commit | 069cd72b6d92a68c8c9d911e8c266cc487e546de (patch) | |
tree | 613057071e8c4cb68b83b844441300c2e3c59509 /arch | |
parent | c5105248ab3ee6760fcc8a58d2a7a0a9f49183bd (diff) |
ARM: tegra: ventana: Fix initcall for multiboard
Change-Id: Ifb9469d85096eedc0d872b8aac086facfdf7c843
Reviewed-on: http://git-master/r/24084
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-ventana-power.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-ventana-power.c b/arch/arm/mach-tegra/board-ventana-power.c index 5136fe391616..7a4b66066a39 100644 --- a/arch/arm/mach-tegra/board-ventana-power.c +++ b/arch/arm/mach-tegra/board-ventana-power.c @@ -28,6 +28,8 @@ #include <mach/iomap.h> #include <mach/irqs.h> +#include <generated/mach-types.h> + #include "gpio-names.h" #include "fuse.h" #include "power.h" @@ -247,6 +249,9 @@ static int __init ventana_pcie_init(void) { int ret; + if (!machine_is_ventana()) + return 0; + ret = gpio_request(TPS6586X_GPIO_BASE, "pcie_vdd"); if (ret < 0) goto fail; |