sh: Runtime PM pdev hwblk - Solution Engine 7722
authorMagnus Damm <damm@igel.co.jp>
Fri, 31 Jul 2009 07:47:44 +0000 (07:47 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 06:05:58 +0000 (15:05 +0900)
Add hwblk_id to Solution Engine 7722 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-se/7722/setup.c

index af84904..3637407 100644 (file)
@@ -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_device = {
        .dev    = {
                .platform_data  = &sh_keysc_info,
        },
+       .archdata = {
+               .hwblk_id = HWBLK_KEYSC,
+       },
 };
 
 static struct platform_device *se7722_devices[] __initdata = {