V4L/DVB: V4L: v4l2-subdev driver for AK8813 and AK8814 TV-encoders from AKM
[safe/jmp/linux-2.6] / include / linux / i2c-pnx.h
index 688e292..a87124d 100644 (file)
@@ -25,17 +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 {
-       u32 (*calculate_input_freq) (struct platform_device *pdev);
-       struct i2c_adapter *adapter;
+       const char *name;
+       u32 base;
+       int irq;
 };
 
 #endif /* __I2C_PNX_H__ */