summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-10-26 10:41:58 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-10-26 19:47:36 +0900
commit40e4231809a022586caa8f253663317033ba2eb1 (patch)
tree1e5776a1eaa8a5ce7571a8d5a611be7e7fcde782
parenta384fe55c23bdcd4b027e09bd8e993d1c90bfae9 (diff)
downloadop-kernel-dev-40e4231809a022586caa8f253663317033ba2eb1.zip
op-kernel-dev-40e4231809a022586caa8f253663317033ba2eb1.tar.gz
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 9d15196..dfc262b 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 = {
},
.num_resources = ARRAY_SIZE(sh_eth_resources),
.resource = sh_eth_resources,
+ .archdata = {
+ .hwblk_id = HWBLK_ETHER,
+ },
};
/* USB0 host */
OpenPOWER on IntegriCloud