Skip to content

Commit

Permalink
fix CI build error
Browse files Browse the repository at this point in the history
  • Loading branch information
hoihochan committed Sep 16, 2024
1 parent 4c47e65 commit d8b3576
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/drivers/crypto/se050/glue/include/i2c_native.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@

#include <kernel/rpc_io_i2c.h>

#if !CFG_CORE_SE05X_I2C_TRAMPOLINE
TEE_Result native_i2c_transfer(struct rpc_i2c_request *req,
size_t *bytes);
int native_i2c_init(void);
#else
#if defined(CFG_CORE_SE05X_I2C_TRAMPOLINE) && CFG_CORE_SE05X_I2C_TRAMPOLINE
static inline TEE_Result native_i2c_transfer(struct rpc_i2c_request *req,
size_t *bytes)
{
Expand All @@ -28,6 +24,10 @@ static inline int native_i2c_init(void)
/* Stub only */
return 0;
}
#else
TEE_Result native_i2c_transfer(struct rpc_i2c_request *req,
size_t *bytes);
int native_i2c_init(void);
#endif

#endif

0 comments on commit d8b3576

Please sign in to comment.