Skip to contentSkip to conversation

sh: add hwblk_id to sh_eth on ecovec24

PATCH New Magnus Damm 1 participant 1 message Oct 26, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: add hwblk_id to sh_eth on ecovec24

From: Magnus Damm <[email protected]>

Add HWBLK_ETHER to the sh_eth platform device
to allow Runtime PM of the ethernet hardware.

---

 arch/sh/boards/mach-ecovec24/setup.c |    3 +++
 1 file changed, 3 insertions(+)
arch/sh/boards/mach-ecovec24/setup.c +3 -0
@@ -132,6 +132,9 @@ static struct platform_device sh_eth_dev
 	},
 	.num_resources = ARRAY_SIZE(sh_eth_resources),
 	.resource = sh_eth_resources,
+	.archdata = {
+		.hwblk_id = HWBLK_ETHER,
+	},
 };
 
 /* USB0 host */