summaryrefslogtreecommitdiff
path: root/drivers/net/sh_eth.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-10-09 00:20:04 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-13 03:44:05 -0700
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 {
};
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;