ARM: tegra: cpu-tegra: sparse type fix
authorOlof Johansson <olof@lixom.net>
Mon, 10 Oct 2011 04:31:23 +0000 (21:31 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 13 Oct 2011 21:08:30 +0000 (14:08 -0700)
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>
arch/arm/mach-tegra/cpu-tegra.c

index 0e1016a..f15b689 100644 (file)
@@ -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;