diff options
Diffstat (limited to 'arch/arm/mach-pnx4008/i2c.c')
| -rw-r--r-- | arch/arm/mach-pnx4008/i2c.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-pnx4008/i2c.c b/arch/arm/mach-pnx4008/i2c.c index 14b4906bec2f..23ec335a4bc0 100644 --- a/arch/arm/mach-pnx4008/i2c.c +++ b/arch/arm/mach-pnx4008/i2c.c | |||
| @@ -18,12 +18,6 @@ | |||
| 18 | #include <mach/irqs.h> | 18 | #include <mach/irqs.h> |
| 19 | #include <mach/i2c.h> | 19 | #include <mach/i2c.h> |
| 20 | 20 | ||
| 21 | static u32 calculate_input_freq(struct platform_device *pdev) | ||
| 22 | { | ||
| 23 | return HCLK_MHZ; | ||
| 24 | } | ||
| 25 | |||
| 26 | |||
| 27 | static struct i2c_pnx_algo_data pnx_algo_data0 = { | 21 | static struct i2c_pnx_algo_data pnx_algo_data0 = { |
| 28 | .base = PNX4008_I2C1_BASE, | 22 | .base = PNX4008_I2C1_BASE, |
| 29 | .irq = I2C_1_INT, | 23 | .irq = I2C_1_INT, |
| @@ -54,17 +48,14 @@ static struct i2c_adapter pnx_adapter2 = { | |||
| 54 | }; | 48 | }; |
| 55 | 49 | ||
| 56 | static struct i2c_pnx_data i2c0_data = { | 50 | static struct i2c_pnx_data i2c0_data = { |
| 57 | .calculate_input_freq = calculate_input_freq, | ||
| 58 | .adapter = &pnx_adapter0, | 51 | .adapter = &pnx_adapter0, |
| 59 | }; | 52 | }; |
| 60 | 53 | ||
| 61 | static struct i2c_pnx_data i2c1_data = { | 54 | static struct i2c_pnx_data i2c1_data = { |
| 62 | .calculate_input_freq = calculate_input_freq, | ||
| 63 | .adapter = &pnx_adapter1, | 55 | .adapter = &pnx_adapter1, |
| 64 | }; | 56 | }; |
| 65 | 57 | ||
| 66 | static struct i2c_pnx_data i2c2_data = { | 58 | static struct i2c_pnx_data i2c2_data = { |
| 67 | .calculate_input_freq = calculate_input_freq, | ||
| 68 | .adapter = &pnx_adapter2, | 59 | .adapter = &pnx_adapter2, |
| 69 | }; | 60 | }; |
| 70 | 61 | ||
