Skip to contentSkip to conversation

sh: Runtime PM pdev hwblk - Solution Engine 7722

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

lore
Share & tools
lore
#0 lore raw

PATCH 4/9 sh: Runtime PM pdev hwblk - Solution Engine 7722

From: Magnus Damm <[email protected]>

Add hwblk_id to Solution Engine 7722 board specific on-chip sh7722 platform devices.

---

 arch/sh/boards/mach-se/7722/setup.c |    4 ++++
 1 file changed, 4 insertions(+)
arch/sh/boards/mach-se/7722/setup.c +4 -0
@@ -22,6 +22,7 @@
 #include <asm/io.h>
 #include <asm/heartbeat.h>
 #include <asm/sh_keysc.h>
+#include <cpu/sh7722.h>
 
 /* Heartbeat */
 static struct heartbeat_data heartbeat_data = {
@@ -137,6 +138,9 @@ static struct platform_device sh_keysc_d
 	.dev	= {
 		.platform_data	= &sh_keysc_info,
 	},
+	.archdata = {
+		.hwblk_id = HWBLK_KEYSC,
+	},
 };
 
 static struct platform_device *se7722_devices[] __initdata = {