Commit 80c0158e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

ANDROID: cpufreq: brcmstb-avs-cpufreq: fix build error



In commit d951cf51 ("cpufreq: brcmstb-avs-cpufreq: add check for
cpufreq_cpu_get's return value"), a check is made in a way that causes a
build warning, which in Android systems, breaks the build.  Fix this up
by moving the definition of the variable above the check to remove the
warning.

Fixes: d951cf51 ("cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get's return value")
Change-Id: I8477905e3447eb4eabf3aa0899534c06a0cca125
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 6a87f57d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment