]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc12e9e33138b6ea98ece36542e5c51b1fbfa3e4c
treef6af0988a34effb8ec94b1a51e44c19d0f26ee23
parenta3196c3b266160b723a1b99e35294ebb5435166d
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