]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
sh: add hwblk_id to sh_eth on ecovec24
authorMagnus Damm <damm@opensource.se>
Mon, 26 Oct 2009 10:41:58 +0000 (10:41 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 26 Oct 2009 10:47:36 +0000 (19:47 +0900)
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>
arch/sh/boards/mach-ecovec24/setup.c

index 9d15196952a0e57f68a79a18a913aa18e1ab7130..dfc262bff0adf5ae4dd4eae14bffaec5d8597f15 100644 (file)
@@ -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 */