aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-10-26 06:41:58 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-10-26 06:47:36 -0400
commit40e4231809a022586caa8f253663317033ba2eb1 (patch)
tree1e5776a1eaa8a5ce7571a8d5a611be7e7fcde782
parenta384fe55c23bdcd4b027e09bd8e993d1c90bfae9 (diff)
sh: add hwblk_id to sh_eth on ecovec24
Add HWBLK_ETHER to the sh_eth platform device to allow Runtime PM of the ethernet hardware. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/boards/mach-ecovec24/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index 9d15196952a..dfc262bff0a 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -147,6 +147,9 @@ static struct platform_device sh_eth_device = {
147 }, 147 },
148 .num_resources = ARRAY_SIZE(sh_eth_resources), 148 .num_resources = ARRAY_SIZE(sh_eth_resources),
149 .resource = sh_eth_resources, 149 .resource = sh_eth_resources,
150 .archdata = {
151 .hwblk_id = HWBLK_ETHER,
152 },
150}; 153};
151 154
152/* USB0 host */ 155/* USB0 host */