diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-10-31 07:22:13 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:42:51 -0500 |
commit | af5be79a7f8d7067588dc2863d37f7cd22e5f2de (patch) | |
tree | b667ec42b98479669ed8e81f27b093672e9897b1 /arch/sh | |
parent | a42b6dd69cb1c61c5f5a24061a227c22071786de (diff) |
sh: sh_mobile usbf clock framework support
Add clock framework support to the usbf/m66592 driver and
adjust the cpu 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')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 786eaf1cf4c3..4953e74f9193 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c | |||
@@ -62,7 +62,7 @@ static struct resource usbf_resources[] = { | |||
62 | 62 | ||
63 | static struct platform_device usbf_device = { | 63 | static struct platform_device usbf_device = { |
64 | .name = "m66592_udc", | 64 | .name = "m66592_udc", |
65 | .id = -1, | 65 | .id = 0, /* "usbf0" clock */ |
66 | .dev = { | 66 | .dev = { |
67 | .dma_mask = NULL, | 67 | .dma_mask = NULL, |
68 | .coherent_dma_mask = 0xffffffff, | 68 | .coherent_dma_mask = 0xffffffff, |
@@ -198,7 +198,6 @@ static int __init sh7722_devices_setup(void) | |||
198 | clk_always_enable("mstp026"); /* XYMEM */ | 198 | clk_always_enable("mstp026"); /* XYMEM */ |
199 | clk_always_enable("mstp022"); /* INTC */ | 199 | clk_always_enable("mstp022"); /* INTC */ |
200 | clk_always_enable("mstp020"); /* SuperHyway */ | 200 | clk_always_enable("mstp020"); /* SuperHyway */ |
201 | clk_always_enable("mstp211"); /* USB */ | ||
202 | clk_always_enable("mstp202"); /* VEU */ | 201 | clk_always_enable("mstp202"); /* VEU */ |
203 | clk_always_enable("mstp201"); /* VPU */ | 202 | clk_always_enable("mstp201"); /* VPU */ |
204 | 203 | ||