diff options
Diffstat (limited to 'include/linux/i2c-pnx.h')
| -rw-r--r-- | include/linux/i2c-pnx.h | 19 | 
1 files changed, 8 insertions, 11 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h index 9eb07bbc652..a87124d4d53 100644 --- a/include/linux/i2c-pnx.h +++ b/include/linux/i2c-pnx.h @@ -12,9 +12,8 @@  #ifndef __I2C_PNX_H__  #define __I2C_PNX_H__ -#include <linux/pm.h> -  struct platform_device; +struct clk;  struct i2c_pnx_mif {  	int			ret;		/* Return value */ @@ -26,20 +25,18 @@ struct i2c_pnx_mif {  };  struct i2c_pnx_algo_data { -	u32			base; -	u32			ioaddr; -	int			irq; +	void __iomem		*ioaddr;  	struct i2c_pnx_mif	mif;  	int			last; +	struct clk		*clk; +	struct i2c_pnx_data	*i2c_pnx; +	struct i2c_adapter	adapter;  };  struct i2c_pnx_data { -	int (*suspend) (struct platform_device *pdev, pm_message_t state); -	int (*resume) (struct platform_device *pdev); -	u32 (*calculate_input_freq) (struct platform_device *pdev); -	int (*set_clock_run) (struct platform_device *pdev); -	int (*set_clock_stop) (struct platform_device *pdev); -	struct i2c_adapter *adapter; +	const char *name; +	u32 base; +	int irq;  };  #endif /* __I2C_PNX_H__ */  |