diff options
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r-- | include/linux/i2c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 953e71fb07b4..568dd1007b53 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -239,7 +239,7 @@ struct i2c_adapter { | |||
239 | char name[48]; | 239 | char name[48]; |
240 | struct completion dev_released; | 240 | struct completion dev_released; |
241 | }; | 241 | }; |
242 | #define dev_to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) | 242 | #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) |
243 | 243 | ||
244 | static inline void *i2c_get_adapdata (struct i2c_adapter *dev) | 244 | static inline void *i2c_get_adapdata (struct i2c_adapter *dev) |
245 | { | 245 | { |