mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
ANDROID: add macros to create OEM data fields
Adds ANDROID_OEM_DATA and ANDROID_OEM_DATA_ARRAY macros to add OEM-specific fields to kernel data structures to enable value-added features implemented in vendor modules. Fields defined with these macros must not be used by SoC vendors who must use the ANDROID_VENDOR_DATA* macros to add vendor fields. Bug: 156285741 Signed-off-by: Todd Kjos <tkjos@google.com> Change-Id: I93a8a182a17854cc4f0a86835e833bf9b00ea0b8
This commit is contained in:
parent
c6617edf72
commit
52fd679fec
1 changed files with 3 additions and 0 deletions
|
|
@ -29,4 +29,7 @@
|
|||
#define ANDROID_VENDOR_DATA(n) u64 android_vendor_data##n
|
||||
#define ANDROID_VENDOR_DATA_ARRAY(n, s) u64 android_vendor_data##n[s]
|
||||
|
||||
#define ANDROID_OEM_DATA(n) u64 android_oem_data##n
|
||||
#define ANDROID_OEM_DATA_ARRAY(n, s) u64 android_oem_data##n[s]
|
||||
|
||||
#endif /* _ANDROID_VENDOR_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue