Rev 1970 | Rev 3031 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1970 | Rev 2967 | ||
---|---|---|---|
Line 278... | Line 278... | ||
278 | #define I2C_CLASS_SPD (1<<7) /* Memory modules */ |
278 | #define I2C_CLASS_SPD (1<<7) /* Memory modules */ |
Line 279... | Line 279... | ||
279 | 279 | ||
280 | /* Internal numbers to terminate lists */ |
280 | /* Internal numbers to terminate lists */ |
Line 281... | Line -... | ||
281 | #define I2C_CLIENT_END 0xfffeU |
- | |
282 | - | ||
283 | /* The numbers to use to set I2C bus address */ |
- | |
284 | #define ANY_I2C_BUS 0xffff |
281 | #define I2C_CLIENT_END 0xfffeU |
285 | 282 | ||
286 | /* Construct an I2C_CLIENT_END-terminated array of i2c addresses */ |
283 | /* Construct an I2C_CLIENT_END-terminated array of i2c addresses */ |
Line 287... | Line 284... | ||
287 | #define I2C_ADDRS(addr, addrs...) \ |
284 | #define I2C_ADDRS(addr, addrs...) \ |
- | 285 | ((const unsigned short []){ addr, ## addrs, I2C_CLIENT_END }) |
|
288 | ((const unsigned short []){ addr, ## addrs, I2C_CLIENT_END }) |
286 | |
289 | 287 | ||
290 | 288 | #endif /* __KERNEL__ */ |
|
291 | #endif /* __KERNEL__ */ |
289 | |
292 | /** |
290 | /** |