Commit 0ef8ae8d authored by Jia-Wei Chang's avatar Jia-Wei Chang Committed by Todd Kjos
Browse files

ANDROID: cpufreq: add macro guard to protect vendor hook

To fix build fail of patch [1] by adding the macro guard to protect the
vendor hook register caller and its callback function.

The report log [2] shows build fail due to the absence of macro
definition of CONFIG_ANDROID_VENDOR_HOOKS.

[1] https://android-review.googlesource.com/c/kernel/common/+/2357403
[2] https://storage.tuxsuite.com/public/clangbuiltlinux/continuous-integration2/builds/2JGC8dCPsZEMPlkPuFiztM7k46n/build.log



Bug: 260537724
Change-Id: I33fe623e3cbe82647bda7c43d36e66ce8e22b11f
Signed-off-by: default avatarJia-Wei Chang <jia-wei.chang@mediatek.com>
parent 7a3d3449
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment