[CPUFREQ] db8500: fix build error due to undeclared i variable