mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
Currently the protection #ifdef CONFIG_DEVFREQ_THERMAL cuts the needed structures devfreq_cooling_ops and devfreq_cooling_device. The functions which are supposed to provide the empty implementation complain about unknown structures. Similar solution is present in include/linux/devfreq.h. Change-Id: I4ed7161734944799443fd43c56394e62eb3c499f Reviewed-by: Ørjan Eide <orjan.eide@arm.com> Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Tao Huang <huangtao@rock-chips.com> (cherry picked from commit 1cea4e7776b7e9096b696eeb66364f51a8d321ec)