diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-20 11:12:26 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 17:32:39 +0000 |
commit | 0321cb83e1c3f3a4282bd620c6cec78c5b80b572 (patch) | |
tree | 5a72693de37c889cb5339a1556cd4ab5967a0864 /include/linux/i2c-pnx.h | |
parent | a0dcf19f59d4f37150a6b7e115925d72aca15293 (diff) | |
download | linux-3.10-0321cb83e1c3f3a4282bd620c6cec78c5b80b572.tar.gz linux-3.10-0321cb83e1c3f3a4282bd620c6cec78c5b80b572.tar.bz2 linux-3.10-0321cb83e1c3f3a4282bd620c6cec78c5b80b572.zip |
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 71de7f976ad..688e29262a4 100644 --- a/include/linux/i2c-pnx.h +++ b/include/linux/i2c-pnx.h @@ -13,6 +13,7 @@ #define __I2C_PNX_H__ struct platform_device; +struct clk; struct i2c_pnx_mif { int ret; /* Return value */ @@ -29,12 +30,11 @@ struct i2c_pnx_algo_data { int irq; struct i2c_pnx_mif mif; int last; + struct clk *clk; }; struct i2c_pnx_data { 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; }; |