280,9 → 280,6 |
/* Internal numbers to terminate lists */ |
#define I2C_CLIENT_END 0xfffeU |
|
/* The numbers to use to set I2C bus address */ |
#define ANY_I2C_BUS 0xffff |
|
/* Construct an I2C_CLIENT_END-terminated array of i2c addresses */ |
#define I2C_ADDRS(addr, addrs...) \ |
((const unsigned short []){ addr, ## addrs, I2C_CLIENT_END }) |
289,6 → 286,7 |
|
|
#endif /* __KERNEL__ */ |
|
/** |
* struct i2c_msg - an I2C transaction segment beginning with START |
* @addr: Slave address, either seven or ten bits. When this is a ten |