ANDROID: fix kernelci issue: visibility of struct cgroup_subsys

Kernelci reported:
include/trace/hooks/cgroup.h:27:18: error: declaration of 'struct cgroup_subsys'
will not be visible outside of this function

Fixes: 2487db8d59 ("ANDROID: freezer: Add vendor hook to freezer for GKI
purpose.")
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I7678fc03df6593ca42f2043f33ec3c3fee8d362b
This commit is contained in:
Todd Kjos
2022-08-17 11:09:25 -07:00
committed by Treehugger Robot
parent aea5730216
commit 1f925159e2

View File

@@ -9,6 +9,7 @@
#ifndef __GENKSYMS__
struct cgroup_taskset;
struct cgroup_subsys;
#else
/* struct cgroup_taskset */
#include <../kernel/cgroup/cgroup-internal.h>