PM / devfreq: Fix build issues with devfreq disabled
authorRob Clark <robdclark@chromium.org>
Mon, 23 Jan 2023 15:37:45 +0000 (07:37 -0800)
committerRob Clark <robdclark@chromium.org>
Mon, 30 Jan 2023 15:37:40 +0000 (07:37 -0800)
commitdbd7a2a941b8cbf9e5f79a777ed9fe0090eebb61
treeb4fbb7fb01f16f8f2411e8f541f5880074e9760d
parent1d233b1cb149ec78c20fac58331b27bb460f9558
PM / devfreq: Fix build issues with devfreq disabled

The existing no-op shims for when PM_DEVFREQ (or an individual governor)
only do half the job.  The governor specific config/tuning structs need
to be available to avoid compile errors in drivers using devfreq.

Fixes: 6563f60f14cb ("drm/msm/gpu: Add devfreq tuning debugfs")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Patchwork: https://patchwork.freedesktop.org/patch/519801/
Link: https://lore.kernel.org/r/20230123153745.3185032-1-robdclark@gmail.com
include/linux/devfreq.h