diff options
author | Olof Johansson <olof@lixom.net> | 2011-10-09 21:31:23 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-10-13 14:08:30 -0700 |
commit | fdb684ac1c6ea93702891c43fd2ff8aadd7f2868 (patch) | |
tree | 940b6a0175faf1f6568f716c3c7091843a7c7255 /arch/arm/mach-tegra | |
parent | cf28cba0ab02ce3e41a7b2606423eb21f1841b7a (diff) |
ARM: tegra: cpu-tegra: sparse type fix
Type fix:
arch/arm/mach-tegra/cpu-tegra.c:144:14: warning: incorrect type in argument 5 (different signedness)
arch/arm/mach-tegra/cpu-tegra.c:144:14: expected unsigned int *index
arch/arm/mach-tegra/cpu-tegra.c:144:14: got int *<noident>
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/cpu-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/cpu-tegra.c b/arch/arm/mach-tegra/cpu-tegra.c index 0e1016a827a..f15b689b749 100644 --- a/arch/arm/mach-tegra/cpu-tegra.c +++ b/arch/arm/mach-tegra/cpu-tegra.c @@ -130,7 +130,7 @@ static int tegra_target(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) { - int idx; + unsigned int idx; unsigned int freq; int ret = 0; |