From e52c02ad888b7b0d7849059e20bbc8bb941e0f03 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Mon, 28 Jun 2010 15:57:55 +0530 Subject: [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 Tested-by: Laxman Dewangan Reviewed-by: Chih-Lung Huang Reviewed-by: Gary King --- arch/arm/mach-tegra/board-nvodm.c | 5 +++-- 1 file 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); -- cgit v1.2.3