mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 12:39:23 +00:00 
			
		
		
		
	 2f0a8df40f
			
		
	
	
		2f0a8df40f
		
	
	
	
	
		
			
			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>
		
			
				
	
	
		
			23 lines
		
	
	
		
			545 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			545 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * This program is free software; you can redistribute  it and/or modify it
 | |
|  * under  the terms of  the GNU General  Public License as published by the
 | |
|  * Free Software Foundation;  either version 2 of the  License, or (at your
 | |
|  * option) any later version.
 | |
|  */
 | |
| 
 | |
| #ifndef _MV64XXX_I2C_H_
 | |
| #define _MV64XXX_I2C_H_
 | |
| 
 | |
| #include <linux/types.h>
 | |
| 
 | |
| #define MV64XXX_I2C_CTLR_NAME	"mv64xxx_i2c"
 | |
| 
 | |
| /* i2c Platform Device, Driver Data */
 | |
| struct mv64xxx_i2c_pdata {
 | |
| 	u32	freq_m;
 | |
| 	u32	freq_n;
 | |
| 	u32	timeout;	/* In milliseconds */
 | |
| };
 | |
| 
 | |
| #endif /*_MV64XXX_I2C_H_*/
 |