Skip to contentSkip to conversation

sh: Runtime PM pdev hwblk - AP325RXA

PATCH In review Magnus Damm 1 participant 1 message Jul 31, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 6/9 sh: Runtime PM pdev hwblk - AP325RXA

From: Magnus Damm <[email protected]>

Add hwblk_id to AP325RXA board specific on-chip sh7723 platform devices.

---

 arch/sh/boards/board-ap325rxa.c |    6 ++++++
 1 file changed, 6 insertions(+)
arch/sh/boards/board-ap325rxa.c +6 -0
@@ -227,6 +227,9 @@ static struct platform_device lcdc_devic
 	.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 = {