diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-11-16 00:40:38 +0300 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2010-11-16 00:40:38 +0300 |
commit | e1e18ee1cb58228a577668284c1dd03d859d7157 (patch) | |
tree | 9dd37fa968317bcd639446f611b9f8dc0671163f /include | |
parent | f3dc65dafa651bca6606ac0b41ead1be50d05652 (diff) | |
download | linux-e1e18ee1cb58228a577668284c1dd03d859d7157.tar.xz |
i2c: Mark i2c_adapter.id as deprecated
It's about time to make it clear that i2c_adapter.id is deprecated.
Hopefully this will remind the last user to move over to a different
strategy.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Jarod Wilson <jarod@redhat.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'include')
-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 889b35abaeda..56cfe23ffb39 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -353,7 +353,7 @@ struct i2c_algorithm { */ struct i2c_adapter { struct module *owner; - unsigned int id; + unsigned int id __deprecated; unsigned int class; /* classes to allow probing for */ const struct i2c_algorithm *algo; /* the algorithm to access the bus */ void *algo_data; |