diff options
author | Magnus Damm <damm@opensource.se> | 2009-10-09 04:20:04 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-13 14:44:05 +0400 |
commit | bcd5149ded6b2edbf3732fa1483600a716b1cba6 (patch) | |
tree | ad517e9c9d196a76d7b7d50602f5c82c96fac996 /drivers/net/sh_eth.h | |
parent | 748031f9fd2c06b28817d80761a5de97190cfd03 (diff) | |
download | linux-bcd5149ded6b2edbf3732fa1483600a716b1cba6.tar.xz |
net: add Runtime PM to the sh_eth driver
Add Runtime PM support to the sh_eth driver.
The clock to the ethernet hardware block will be
enabled as long as the network device is up.
Signed-off-by: Magnus Damm <damm@opensource.se>
Tested-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sh_eth.h')
-rw-r--r-- | drivers/net/sh_eth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sh_eth.h b/drivers/net/sh_eth.h index ba151f86ae7b..8b47763958f2 100644 --- a/drivers/net/sh_eth.h +++ b/drivers/net/sh_eth.h @@ -703,6 +703,7 @@ struct sh_eth_cpu_data { }; struct sh_eth_private { + struct platform_device *pdev; struct sh_eth_cpu_data *cd; dma_addr_t rx_desc_dma; dma_addr_t tx_desc_dma; |