linux/drivers/net/e1000
Martin J. Bligh b6a1d5f884 [PATCH] e1000: remove warning about e1000_suspend
e1000_suspend is only used under #ifdef CONFIG_PM.  Move the declaration of
it to be the same way, just like e1000_resume, otherwise gcc whines on
compile.  I offer as evidence:

	static struct pci_driver e1000_driver = {
 	       .name     = e1000_driver_name,
 	      .id_table = e1000_pci_tbl,
  	      .probe    = e1000_probe,
  	      .remove   = __devexit_p(e1000_remove),
 	      /* Power Managment Hooks */
	#ifdef CONFIG_PM
 	       .suspend  = e1000_suspend,
 	       .resume   = e1000_resume
	#endif
	};

Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-10-28 19:06:42 -04:00
..
e1000_ethtool.c drivers/net: Remove pointless checks for NULL prior to calling kfree() 2005-10-28 16:53:13 -04:00
e1000_hw.c e1000: Flush shadow RAM 2005-10-04 07:08:19 -04:00
e1000_hw.h e1000: Support for 82571 and 82572 controllers 2005-10-04 06:58:59 -04:00
e1000_main.c [PATCH] e1000: remove warning about e1000_suspend 2005-10-28 19:06:42 -04:00
e1000_osdep.h
e1000_param.c e1000: multi-queue defines/modification to data structures 2005-10-04 07:01:55 -04:00
e1000.h e1000: Fixes for packet split related issues 2005-10-04 07:05:44 -04:00
LICENSE
Makefile