aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sh_eth.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-10-08 20:20:04 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-13 06:44:05 -0400
commitbcd5149ded6b2edbf3732fa1483600a716b1cba6 (patch)
treead517e9c9d196a76d7b7d50602f5c82c96fac996 /drivers/net/sh_eth.h
parent748031f9fd2c06b28817d80761a5de97190cfd03 (diff)
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.h1
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 {
703}; 703};
704 704
705struct sh_eth_private { 705struct sh_eth_private {
706 struct platform_device *pdev;
706 struct sh_eth_cpu_data *cd; 707 struct sh_eth_cpu_data *cd;
707 dma_addr_t rx_desc_dma; 708 dma_addr_t rx_desc_dma;
708 dma_addr_t tx_desc_dma; 709 dma_addr_t tx_desc_dma;