diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-20 06:12:26 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 12:32:39 -0500 |
commit | 0321cb83e1c3f3a4282bd620c6cec78c5b80b572 (patch) | |
tree | 5a72693de37c889cb5339a1556cd4ab5967a0864 /include/linux/i2c-pnx.h | |
parent | a0dcf19f59d4f37150a6b7e115925d72aca15293 (diff) |
ARM: PNX4008: move i2c clock start/stop into driver
Acked-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/i2c-pnx.h')
-rw-r--r-- | include/linux/i2c-pnx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h index 71de7f976adf..688e29262a43 100644 --- a/include/linux/i2c-pnx.h +++ b/include/linux/i2c-pnx.h | |||
@@ -13,6 +13,7 @@ | |||
13 | #define __I2C_PNX_H__ | 13 | #define __I2C_PNX_H__ |
14 | 14 | ||
15 | struct platform_device; | 15 | struct platform_device; |
16 | struct clk; | ||
16 | 17 | ||
17 | struct i2c_pnx_mif { | 18 | struct i2c_pnx_mif { |
18 | int ret; /* Return value */ | 19 | int ret; /* Return value */ |
@@ -29,12 +30,11 @@ struct i2c_pnx_algo_data { | |||
29 | int irq; | 30 | int irq; |
30 | struct i2c_pnx_mif mif; | 31 | struct i2c_pnx_mif mif; |
31 | int last; | 32 | int last; |
33 | struct clk *clk; | ||
32 | }; | 34 | }; |
33 | 35 | ||
34 | struct i2c_pnx_data { | 36 | struct i2c_pnx_data { |
35 | u32 (*calculate_input_freq) (struct platform_device *pdev); | 37 | u32 (*calculate_input_freq) (struct platform_device *pdev); |
36 | int (*set_clock_run) (struct platform_device *pdev); | ||
37 | int (*set_clock_stop) (struct platform_device *pdev); | ||
38 | struct i2c_adapter *adapter; | 38 | struct i2c_adapter *adapter; |
39 | }; | 39 | }; |
40 | 40 | ||