ANDROID: fix build warning found by 0-day

The 0-day test-bot found this warning:

include/trace/hooks/thermal.h:16:25: warning: 'struct cpufreq_policy'
declared inside parameter list will not be visible outside of this
definition or declaration

Fixed by this patch.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: b3efd2ad71 ("ANDROID: remove inclusions from hook definition headers")
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I27d178f5056ab417b24eb14ca8dcb95f0d20cac7
This commit is contained in:
Todd Kjos
2022-09-15 20:32:47 +00:00
parent b5eedeaba6
commit ed8d3d91b9

View File

@@ -11,6 +11,7 @@
struct thermal_cooling_device;
struct thermal_zone_device;
struct cpufreq_policy;
DECLARE_HOOK(android_vh_modify_thermal_request_freq,
TP_PROTO(struct cpufreq_policy *policy, unsigned long *request_freq),