Skip to content
Commit fa7bd98f authored by Portia Stephens's avatar Portia Stephens Committed by Viresh Kumar
Browse files

cpufreq: brcmstb-avs-cpufreq: ISO C90 forbids mixed declarations



There is a compile warning because a NULL pointer check was added before
a struct was declared. This moves the NULL pointer check to after the
struct is declared and moves the struct assignment to after the NULL
pointer check.

Fixes: f661017e ("cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get's return value")
Signed-off-by: default avatarPortia Stephens <portia.stephens@canonical.com>
Acked-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 39eaf521
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment