sh: Runtime PM pdev hwblk - Migo-R
authorMagnus Damm <damm@igel.co.jp>
Fri, 31 Jul 2009 07:47:35 +0000 (07:47 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 06:05:56 +0000 (15:05 +0900)
Add hwblk_id to Migo-R board specific on-chip sh7722
platform devices.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-migor/setup.c

index f70f4644deb4e835ed54fdea8f3a39a6d3ee2ebd..a508a0fa731557f2abd0f1dcd402f5d661d2c107 100644 (file)
@@ -98,6 +98,9 @@ static struct platform_device sh_keysc_device = {
        .dev    = {
                .platform_data  = &sh_keysc_info,
        },
+       .archdata = {
+               .hwblk_id = HWBLK_KEYSC,
+       },
 };
 
 static struct mtd_partition migor_nor_flash_partitions[] =
@@ -292,6 +295,9 @@ static struct platform_device migor_lcdc_device = {
        .dev    = {
                .platform_data  = &sh_mobile_lcdc_info,
        },
+       .archdata = {
+               .hwblk_id = HWBLK_LCDC,
+       },
 };
 
 static struct clk *camera_clk;
@@ -379,6 +385,9 @@ static struct platform_device migor_ceu_device = {
        .dev    = {
                .platform_data  = &sh_mobile_ceu_info,
        },
+       .archdata = {
+               .hwblk_id = HWBLK_CEU,
+       },
 };
 
 struct spi_gpio_platform_data sdcard_cn9_platform_data = {
This page took 0.024517 seconds and 5 git commands to generate.