summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pxa
diff options
context:
space:
mode:
authorLukasz Luba <lukasz.luba@arm.com>2020-12-15 15:42:21 +0000
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-12-15 17:03:56 +0100
commit4401117bf7fc11dc738c0963fa0c94814abc8dcd (patch)
treef93e84686bc3f01f5c6e548a004df1aebc6fbc16 /drivers/pinctrl/pxa
parent1fa34e49e4b7e66214a1d15261c0224d60366eec (diff)
downloadlinux-4401117bf7fc11dc738c0963fa0c94814abc8dcd.tar.bz2
thermal/drivers/devfreq_cooling: Fix the build when !ENERGY_MODEL
Prevent build failure if the option CONFIG_ENERGY_MODEL is not set. The devfreq cooling is able to operate without the Energy Model. Don't use dev->em_pd directly and use local pointer. Fixes: 615510fe13bd2 ("thermal: devfreq_cooling: remove old power model and use EM") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20201215154221.8828-1-lukasz.luba@arm.com
Diffstat (limited to 'drivers/pinctrl/pxa')
0 files changed, 0 insertions, 0 deletions