]> err.no Git - linux-2.6/commit
e1000: fix CONFIG_PM blocks
authorAuke Kok <auke-jan.h.kok@intel.com>
Tue, 27 Jun 2006 16:06:36 +0000 (09:06 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Tue, 27 Jun 2006 16:06:36 +0000 (09:06 -0700)
commit6fdfef162426766611b1f640138e4720f56e45f8
treeb1525d28996ed47b99e53c625bc9cb0d238227fa
parent79f05bf0ba9b41561600f3cdfdf86b5184fc6675
e1000: fix CONFIG_PM blocks

e1000_suspend is called even when !CONFIG_PM. The non-PM code inside of it
is properly #ifdef'd. This fixes the compiler warnings when !CONFIG_PM.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
drivers/net/e1000/e1000_main.c