diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-09-03 22:41:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 15:38:52 -0700 |
commit | 6d3aae9d74221b00e2cbf50a353527e5a71a58ba (patch) | |
tree | 50748c29a9c3da537d085f07273df9af700700e4 /include/linux/i2c.h | |
parent | 8f9082c5ce0e2c2f7ad0211b0c089f680d2efc11 (diff) | |
download | linux-3.10-6d3aae9d74221b00e2cbf50a353527e5a71a58ba.tar.gz linux-3.10-6d3aae9d74221b00e2cbf50a353527e5a71a58ba.tar.bz2 linux-3.10-6d3aae9d74221b00e2cbf50a353527e5a71a58ba.zip |
i2c: Drop unimplemented slave functions
i2c: Drop unimplemented slave functions
Drop the function declarations for slave mode support of i2c adapters.
This was never implemented, and by the time it is I bet we will want
something different anyway.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r-- | include/linux/i2c.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 23ad1ee42a4..9b5d04768c2 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -64,14 +64,6 @@ extern int i2c_master_recv(struct i2c_client *,char* ,int); */ extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num); -/* - * Some adapter types (i.e. PCF 8584 based ones) may support slave behaviuor. - * This is not tested/implemented yet and will change in the future. - */ -extern int i2c_slave_send(struct i2c_client *,char*,int); -extern int i2c_slave_recv(struct i2c_client *,char*,int); - - /* This is the very generalized SMBus access routine. You probably do not want to use this, though; one of the functions below may be much easier, @@ -201,10 +193,6 @@ struct i2c_algorithm { unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data); - /* --- these optional/future use for some adapter types.*/ - int (*slave_send)(struct i2c_adapter *,char*,int); - int (*slave_recv)(struct i2c_adapter *,char*,int); - /* --- ioctl like call to set div. parameters. */ int (*algo_control)(struct i2c_adapter *, unsigned int, unsigned long); |