提交 2de63cf3 编写于 作者: M Magnus Damm 提交者: Paul Mundt

sh: Runtime PM pdev hwblk - Migo-R

Add hwblk_id to Migo-R board specific on-chip sh7722
platform devices.
Signed-off-by: NMagnus Damm <damm@igel.co.jp>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 f69d5782
...@@ -98,6 +98,9 @@ static struct platform_device sh_keysc_device = { ...@@ -98,6 +98,9 @@ static struct platform_device sh_keysc_device = {
.dev = { .dev = {
.platform_data = &sh_keysc_info, .platform_data = &sh_keysc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_KEYSC,
},
}; };
static struct mtd_partition migor_nor_flash_partitions[] = static struct mtd_partition migor_nor_flash_partitions[] =
...@@ -292,6 +295,9 @@ static struct platform_device migor_lcdc_device = { ...@@ -292,6 +295,9 @@ static struct platform_device migor_lcdc_device = {
.dev = { .dev = {
.platform_data = &sh_mobile_lcdc_info, .platform_data = &sh_mobile_lcdc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_LCDC,
},
}; };
static struct clk *camera_clk; static struct clk *camera_clk;
...@@ -379,6 +385,9 @@ static struct platform_device migor_ceu_device = { ...@@ -379,6 +385,9 @@ static struct platform_device migor_ceu_device = {
.dev = { .dev = {
.platform_data = &sh_mobile_ceu_info, .platform_data = &sh_mobile_ceu_info,
}, },
.archdata = {
.hwblk_id = HWBLK_CEU,
},
}; };
struct spi_gpio_platform_data sdcard_cn9_platform_data = { struct spi_gpio_platform_data sdcard_cn9_platform_data = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册