net: add Runtime PM to the sh_eth driver
authorMagnus Damm <damm@opensource.se>
Fri, 9 Oct 2009 00:20:04 +0000 (00:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 10:44:05 +0000 (03:44 -0700)
commitbcd5149ded6b2edbf3732fa1483600a716b1cba6
treead517e9c9d196a76d7b7d50602f5c82c96fac996
parent748031f9fd2c06b28817d80761a5de97190cfd03
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>
drivers/net/sh_eth.c
drivers/net/sh_eth.h