diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2013-06-06 09:52:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-06 16:04:04 -0700 |
commit | 540ad1b888ad9564520c1c8c48ad675f76ffce62 (patch) | |
tree | e95b5275db7c4276dfc9fb6a21868922705712a9 /drivers/net/ethernet/cadence/macb.c | |
parent | dabdde9ea77d4a77094726c82468a3bd767fb29b (diff) | |
download | linux-540ad1b888ad9564520c1c8c48ad675f76ffce62.tar.bz2 |
sh_eth: enclose PM code into #ifdef CONFIG_PM
Put '#ifdef CONFIG_PM' around sh_eth_runtime_nop() and 'sh_eth_dev_pm_ops'.
Add '#define SH_ETH_PM_OPS' to facilitate initialization of driver's 'pm' field
depending on whether CONFIG_PM is enabled.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
[Sergei: added the changelog, reworded the subject, changing the prefix.]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.c')
0 files changed, 0 insertions, 0 deletions