diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2010-06-28 15:57:55 +0530 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-06-29 11:24:25 -0700 |
commit | e52c02ad888b7b0d7849059e20bbc8bb941e0f03 (patch) | |
tree | e40f8a85e6f3d55d36e2f61d88e3cb1f65a78e04 /arch | |
parent | 820160546e3bfbe7701e72b769de82b0401d3207 (diff) |
[arm/tegra] odm: Fixing supply name for sys vddio name.
The supply name for the vddio sys rail should be "vddio sys". It was
wrongly named. Due to this some of the gpio power rail was reporting
the invalid power rail.
Fixing this issue.
Also fixing the compilation warning where function definition was not correct.
Change-Id: Ib25c470b6f5d079e9ea204451f97e7ed8edd152c
Reviewed-on: http://git-master/r/3258
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-nvodm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-nvodm.c b/arch/arm/mach-tegra/board-nvodm.c index 4980146b58a9..c41cd070e350 100644 --- a/arch/arm/mach-tegra/board-nvodm.c +++ b/arch/arm/mach-tegra/board-nvodm.c @@ -880,7 +880,7 @@ static struct regulator_consumer_supply tegra_vdd_nand_consumers[] = { }; static struct regulator_consumer_supply tegra_vdd_sys_consumers[] = { [0] = { - .supply = "vdd_ldo4", + .supply = "vddio sys", }, }; static struct regulator_consumer_supply tegra_vdd_audio_consumers[] = { @@ -1520,9 +1520,10 @@ do_register: tegra_init_idle(plat); } -void __init tegra_setup_data(void) +static int __init tegra_setup_data(void) { platform_add_devices(nvodm_devices, ARRAY_SIZE(nvodm_devices)); + return 0; } postcore_initcall(tegra_setup_data); |