Net / e1000e: Fix build issue introduced by runtime PM patch
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 18 Mar 2010 06:12:24 +0000 (23:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Mar 2010 06:12:24 +0000 (23:12 -0700)
commita034016287236f435dbb8f1f57aee906f22b4598
treef6af0988a34effb8ec94b1a51e44c19d0f26ee23
parente50208a080a8abdfa6c85865362a1cf329e9fe31
Net / e1000e: Fix build issue introduced by runtime PM patch

The recent PCI runtime PM patch broke build for CONFIG_PM_RUNTIME
and CONFIG_PM_SLEEP undefined.  Fix that by moving the PM callbacks
under suitable #ifdefs.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c