arch/sim: Add i2s setup and shutdown interface
This interface is required if you want to open an i2c node directly on the sim
12b4340b00
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
This commit is contained in:
parent
59da455fea
commit
69597ec486
1 changed files with 2 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ struct i2c_ops_s
|
|||
#ifdef CONFIG_I2C_RESET
|
||||
int (*reset)(struct i2c_master_s *dev);
|
||||
#endif
|
||||
int (*setup)(struct i2c_master_s *dev);
|
||||
int (*shutdown)(struct i2c_master_s *dev);
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue