ANDROID: Add known structs used by modules to KMI
This adds `struct dwc3` and `struct kernel_all_info` to the KMI via fake GKI symbols as we know some partners are using these in their out-of-tree drivers. This ensures that future changes to these structs will not break partner builds. Bug: 332277393 Bug: 236036821 Change-Id: Ifa1ac6b71d58415339a63f16a79c1f713dda789f Signed-off-by: Will McVicker <willmcvicker@google.com>
This commit is contained in:
parent
77fec6cefe
commit
089d1b8f6d
@ -120,6 +120,7 @@ filegroup(
|
||||
"android/abi_gki_aarch64_rockchip",
|
||||
"android/abi_gki_aarch64_sony",
|
||||
"android/abi_gki_aarch64_tuxera",
|
||||
"android/abi_gki_aarch64_type_visibility",
|
||||
"android/abi_gki_aarch64_unisoc",
|
||||
"android/abi_gki_aarch64_virtual_device",
|
||||
"android/abi_gki_aarch64_vivo",
|
||||
|
File diff suppressed because it is too large
Load Diff
5
android/abi_gki_aarch64_type_visibility
Normal file
5
android/abi_gki_aarch64_type_visibility
Normal file
@ -0,0 +1,5 @@
|
||||
[abi_symbol_list]
|
||||
|
||||
# for type visibility
|
||||
ANDROID_GKI_struct_dwc3
|
||||
ANDROID_GKI_struct_kernel_all_info
|
@ -193,6 +193,12 @@ static struct platform_driver debug_kinfo_driver = {
|
||||
};
|
||||
module_platform_driver(debug_kinfo_driver);
|
||||
|
||||
/*
|
||||
* For type visibility
|
||||
*/
|
||||
const struct kernel_all_info *const ANDROID_GKI_struct_kernel_all_info;
|
||||
EXPORT_SYMBOL_GPL(ANDROID_GKI_struct_kernel_all_info);
|
||||
|
||||
MODULE_AUTHOR("Jone Chou <jonechou@google.com>");
|
||||
MODULE_DESCRIPTION("Debug Kinfo Driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -2323,6 +2323,12 @@ static struct platform_driver dwc3_driver = {
|
||||
|
||||
module_platform_driver(dwc3_driver);
|
||||
|
||||
/*
|
||||
* For type visibility (http://b/236036821)
|
||||
*/
|
||||
const struct dwc3 *const ANDROID_GKI_struct_dwc3;
|
||||
EXPORT_SYMBOL_GPL(ANDROID_GKI_struct_dwc3);
|
||||
|
||||
MODULE_ALIAS("platform:dwc3");
|
||||
MODULE_AUTHOR("Felipe Balbi <balbi@ti.com>");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
Loading…
Reference in New Issue
Block a user