diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-10-31 07:20:55 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:42:51 -0500 |
commit | a5616bd0f19730a780c354110454ce37209f1ded (patch) | |
tree | 367e0b2d8be763d40323c2c30e3d00a49df54a08 /arch/sh/kernel/cpu/sh4a/setup-sh7723.c | |
parent | f2eb0109fb4268505b0737cfe661542eb6151907 (diff) |
sh: sh_mobile i2c clock framework support
Add clock framework support to the sh_mobile i2c driver and
adjust the processor specific code accordingly.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7723.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7723.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c index 6d9e6972cfc9..63ec348dec70 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c | |||
@@ -215,6 +215,7 @@ static struct resource iic_resources[] = { | |||
215 | 215 | ||
216 | static struct platform_device iic_device = { | 216 | static struct platform_device iic_device = { |
217 | .name = "i2c-sh_mobile", | 217 | .name = "i2c-sh_mobile", |
218 | .id = 0, /* "i2c0" clock */ | ||
218 | .num_resources = ARRAY_SIZE(iic_resources), | 219 | .num_resources = ARRAY_SIZE(iic_resources), |
219 | .resource = iic_resources, | 220 | .resource = iic_resources, |
220 | }; | 221 | }; |
@@ -238,7 +239,6 @@ static int __init sh7723_devices_setup(void) | |||
238 | clk_always_enable("mstp022"); /* INTC */ | 239 | clk_always_enable("mstp022"); /* INTC */ |
239 | clk_always_enable("mstp020"); /* SuperHyway */ | 240 | clk_always_enable("mstp020"); /* SuperHyway */ |
240 | clk_always_enable("mstp000"); /* MERAM */ | 241 | clk_always_enable("mstp000"); /* MERAM */ |
241 | clk_always_enable("mstp109"); /* I2C */ | ||
242 | clk_always_enable("mstp108"); /* RTC */ | 242 | clk_always_enable("mstp108"); /* RTC */ |
243 | clk_always_enable("mstp211"); /* USB */ | 243 | clk_always_enable("mstp211"); /* USB */ |
244 | clk_always_enable("mstp206"); /* VEU2H1 */ | 244 | clk_always_enable("mstp206"); /* VEU2H1 */ |