diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-03-20 14:50:53 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-03-20 14:50:53 +0100 |
commit | fe6fc25857d293546bd400432cdb77866c797c9b (patch) | |
tree | 58fcbe3a5bc3b7ba518c22c544025132cc95ad8d /drivers/i2c/Makefile | |
parent | 9ea3e941d161f41f920462c50e9b651cc00eccc7 (diff) | |
download | kernel_samsung_smdk4412-fe6fc25857d293546bd400432cdb77866c797c9b.zip kernel_samsung_smdk4412-fe6fc25857d293546bd400432cdb77866c797c9b.tar.gz kernel_samsung_smdk4412-fe6fc25857d293546bd400432cdb77866c797c9b.tar.bz2 |
i2c: Deprecate i2c_driver.attach_adapter and .detach_adapter
The last legitimate user of i2c_driver.attach_adapter and
.detach_adapter is gone, so we can finally deprecate these callbacks.
The last few drivers which still use these will have to be updated to
make use of standard I2C device instantiation ways instead.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/Makefile')
-rw-r--r-- | drivers/i2c/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile index 23ac61e..beee6b2 100644 --- a/drivers/i2c/Makefile +++ b/drivers/i2c/Makefile @@ -10,3 +10,4 @@ obj-$(CONFIG_I2C_MUX) += i2c-mux.o obj-y += algos/ busses/ muxes/ ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG +CFLAGS_i2c-core.o := -Wno-deprecated-declarations |