diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-07-31 03:47:35 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-04 02:05:56 -0400 |
commit | 2de63cf376585508f6942aaa7337848f8c4cdd7d (patch) | |
tree | 465421015f8198287307a6db82ce3975326c1186 /arch/sh/boards | |
parent | f69d5782742e57d5f047ed13440bcf1b320cb074 (diff) |
sh: Runtime PM pdev hwblk - Migo-R
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>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index f70f4644deb4..a508a0fa7315 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c | |||
@@ -98,6 +98,9 @@ static struct platform_device sh_keysc_device = { | |||
98 | .dev = { | 98 | .dev = { |
99 | .platform_data = &sh_keysc_info, | 99 | .platform_data = &sh_keysc_info, |
100 | }, | 100 | }, |
101 | .archdata = { | ||
102 | .hwblk_id = HWBLK_KEYSC, | ||
103 | }, | ||
101 | }; | 104 | }; |
102 | 105 | ||
103 | static struct mtd_partition migor_nor_flash_partitions[] = | 106 | static struct mtd_partition migor_nor_flash_partitions[] = |
@@ -292,6 +295,9 @@ static struct platform_device migor_lcdc_device = { | |||
292 | .dev = { | 295 | .dev = { |
293 | .platform_data = &sh_mobile_lcdc_info, | 296 | .platform_data = &sh_mobile_lcdc_info, |
294 | }, | 297 | }, |
298 | .archdata = { | ||
299 | .hwblk_id = HWBLK_LCDC, | ||
300 | }, | ||
295 | }; | 301 | }; |
296 | 302 | ||
297 | static struct clk *camera_clk; | 303 | static struct clk *camera_clk; |
@@ -379,6 +385,9 @@ static struct platform_device migor_ceu_device = { | |||
379 | .dev = { | 385 | .dev = { |
380 | .platform_data = &sh_mobile_ceu_info, | 386 | .platform_data = &sh_mobile_ceu_info, |
381 | }, | 387 | }, |
388 | .archdata = { | ||
389 | .hwblk_id = HWBLK_CEU, | ||
390 | }, | ||
382 | }; | 391 | }; |
383 | 392 | ||
384 | struct spi_gpio_platform_data sdcard_cn9_platform_data = { | 393 | struct spi_gpio_platform_data sdcard_cn9_platform_data = { |