2.4.36-stable kernel tree
リビジョン | d01b0a2f98eb83b41e4d2a1d7cfdecfd366a8929 (tree) |
---|---|
日時 | 2006-11-20 02:02:13 |
作者 | Jean Delvare <khali@linu...> |
コミッター | Willy Tarreau |
[PATCH][I2C] remove non-existing functions declarations.
Drop the function declarations for slave mode support of i2c adapters.
This was never implemented.
Partial backport of:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6d3aae9d74221b00e2cbf50a353527e5a71a58ba
Signed-off-by: Jean Delvare <khali@linux-fr.org>
@@ -72,14 +72,6 @@ extern int i2c_master_recv(struct i2c_client *,char* ,int); | ||
72 | 72 | */ |
73 | 73 | extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msg,int num); |
74 | 74 | |
75 | -/* | |
76 | - * Some adapter types (i.e. PCF 8584 based ones) may support slave behaviuor. | |
77 | - * This is not tested/implemented yet and will change in the future. | |
78 | - */ | |
79 | -extern int i2c_slave_send(struct i2c_client *,char*,int); | |
80 | -extern int i2c_slave_recv(struct i2c_client *,char*,int); | |
81 | - | |
82 | - | |
83 | 75 | |
84 | 76 | /* This is the very generalized SMBus access routine. You probably do not |
85 | 77 | want to use this, though; one of the functions below may be much easier, |