From 219c377ad38df88dee4a4aa03d583302f6290b85 Mon Sep 17 00:00:00 2001 From: Jaehyoung Choi Date: Mon, 30 Sep 2024 17:52:56 +0900 Subject: [PATCH] ANDROID: Add pinctrl core.h header to unsafe header. The use of the pinctrl structure is essential to register various pinctrl callback functions and configure pinmux. Therefore, add the pinctrl core.h to the unsafe header so that it can be included. Bug: 375956157 Signed-off-by: Jaehyoung Choi Change-Id: I8dba34f159fea6f09225e1d7e8d374e4fa71a428 --- BUILD.bazel | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel index 5df071cea56e..e2a937666cb4 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1504,11 +1504,12 @@ ddk_headers( name = "all_headers_unsafe", hdrs = [ "drivers/gpu/drm/virtio/virtgpu_trace.h", + "drivers/pinctrl/core.h", ], # The list of include directories where source files can #include headers # from. In other words, these are the `-I` option to the C compiler. # Unsafe include directories are appended to ccflags-y. - includes = [], + includes = ["drivers/pinctrl"], visibility = ["//visibility:private"], )