Преглед изворни кода

sh: Runtime PM pdev hwblk - Solution Engine 7722

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>
Magnus Damm пре 16 година
родитељ
комит
66d9c51ac4
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      arch/sh/boards/mach-se/7722/setup.c

+ 4 - 0
arch/sh/boards/mach-se/7722/setup.c

@@ -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 = {