sh: Runtime PM pdev hwblk - AP325RXA
Magnus Damm [Fri, 31 Jul 2009 07:48:02 +0000 (07:48 +0000)]
Add hwblk_id to AP325RXA board specific on-chip sh7723
platform devices.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

arch/sh/boards/board-ap325rxa.c

index 7ffd1b4..07a5474 100644 (file)
@@ -227,6 +227,9 @@ static struct platform_device lcdc_device = {
        .dev            = {
                .platform_data  = &lcdc_info,
        },
+       .archdata = {
+               .hwblk_id = HWBLK_LCDC,
+       },
 };
 
 static void camera_power(int val)
@@ -377,6 +380,9 @@ static struct platform_device ceu_device = {
        .dev            = {
                .platform_data  = &sh_mobile_ceu_info,
        },
+       .archdata = {
+               .hwblk_id = HWBLK_CEU,
+       },
 };
 
 struct spi_gpio_platform_data sdcard_cn3_platform_data = {