mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ANDROID: GKI: forward declare struct tcpci_data in vendor hooks
The inclusion of the internal drivers/usb/typec/tcpm/tcpci.h header
broke some androidci builds.
Bug: 233047575
Fixes: f677cbf076 ("ANDROID: GKI: include more type definitions in vendor hooks")
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I59f2f19889d2646fc5169506df1fba8cfeda305e
This commit is contained in:
@@ -10,12 +10,8 @@
|
||||
* Following tracepoints are not exported in tracefs and provide a
|
||||
* mechanism for vendor modules to hook and extend functionality
|
||||
*/
|
||||
#ifdef __GENKSYMS__
|
||||
/* Including ../drivers/usb/typec/tcpm/tcpci.h breaks builds. */
|
||||
struct tcpci_data;
|
||||
#else
|
||||
/* struct tcpci_data */
|
||||
#include <../drivers/usb/typec/tcpm/tcpci.h>
|
||||
#endif /* __GENKSYMS__ */
|
||||
struct tcpci;
|
||||
struct tcpm_port;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user