diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-10-31 07:21:44 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:42:51 -0500 |
commit | a42b6dd69cb1c61c5f5a24061a227c22071786de (patch) | |
tree | 998ac6532b649ab39ff63ec4c637b6fe8d202187 /arch/sh/boards/board-ap325rxa.c | |
parent | 090d951b69f29a8d5777c63570d4cd61d7efeb22 (diff) |
sh: sh_mobile ceu clock framework support
Add clock framework support to the sh_mobile ceu and
adjust the board 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/boards/board-ap325rxa.c')
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index 8881a643ac32..0afaebad7b76 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c | |||
@@ -303,6 +303,7 @@ static struct resource ceu_resources[] = { | |||
303 | 303 | ||
304 | static struct platform_device ceu_device = { | 304 | static struct platform_device ceu_device = { |
305 | .name = "sh_mobile_ceu", | 305 | .name = "sh_mobile_ceu", |
306 | .id = 0, /* "ceu0" clock */ | ||
306 | .num_resources = ARRAY_SIZE(ceu_resources), | 307 | .num_resources = ARRAY_SIZE(ceu_resources), |
307 | .resource = ceu_resources, | 308 | .resource = ceu_resources, |
308 | .dev = { | 309 | .dev = { |
@@ -375,7 +376,6 @@ static int __init ap325rxa_devices_setup(void) | |||
375 | gpio_direction_output(GPIO_PTS3, 1); | 376 | gpio_direction_output(GPIO_PTS3, 1); |
376 | 377 | ||
377 | /* CEU */ | 378 | /* CEU */ |
378 | clk_always_enable("mstp203"); | ||
379 | gpio_request(GPIO_FN_VIO_CLK2, NULL); | 379 | gpio_request(GPIO_FN_VIO_CLK2, NULL); |
380 | gpio_request(GPIO_FN_VIO_VD2, NULL); | 380 | gpio_request(GPIO_FN_VIO_VD2, NULL); |
381 | gpio_request(GPIO_FN_VIO_HD2, NULL); | 381 | gpio_request(GPIO_FN_VIO_HD2, NULL); |