diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-11-22 10:58:08 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:04:01 -0500 |
commit | 2f0a8df40ff008822e5570b3323c56622cd92c95 (patch) | |
tree | bfb22fc90d83f57b67255bb8c2c3ac676364e54c /include/linux/mv643xx_i2c.h | |
parent | a0832798c05241f15e793805b6024919c07b8292 (diff) |
[I2C] i2c-mv64xxx: Don't set i2c_adapter.retries
I2C adapter drivers are supposed to handle retries on nack by themselves
if they do, so there's no point in setting .retries if they don't.
As this retry mechanism is going away (at least in its current form),
clean this up now so that we don't get build failures later.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Diffstat (limited to 'include/linux/mv643xx_i2c.h')
-rw-r--r-- | include/linux/mv643xx_i2c.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mv643xx_i2c.h b/include/linux/mv643xx_i2c.h index adb629b15477..5db5152e9de5 100644 --- a/include/linux/mv643xx_i2c.h +++ b/include/linux/mv643xx_i2c.h | |||
@@ -17,7 +17,6 @@ struct mv64xxx_i2c_pdata { | |||
17 | u32 freq_m; | 17 | u32 freq_m; |
18 | u32 freq_n; | 18 | u32 freq_n; |
19 | u32 timeout; /* In milliseconds */ | 19 | u32 timeout; /* In milliseconds */ |
20 | u32 retries; | ||
21 | }; | 20 | }; |
22 | 21 | ||
23 | #endif /*_MV64XXX_I2C_H_*/ | 22 | #endif /*_MV64XXX_I2C_H_*/ |