mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user