Messages in this thread Patch in this message | | | Subject | [PATCH] 2.6.9-rc1 - #ifdef cleanups in drivers/net | From | Valdis.Kletnieks@vt ... | Date | Tue, 24 Aug 2004 10:35:52 -0400 |
| |
Here's the last of them for 2.6.9-rc1 - two more #if/#ifdef cleanups.
Signed-off-by: valdis.kletnieks@vt.edu
--- linux-2.6.9-rc1/drivers/net/amd8111e.c.ifdef 2004-08-14 01:37:14.000000000 -0400 +++ linux-2.6.9-rc1/drivers/net/amd8111e.c 2004-08-24 10:29:53.000000000 -0400 @@ -719,7 +719,7 @@ static int amd8111e_tx(struct net_device return 0; } -#if CONFIG_AMD8111E_NAPI +#ifdef CONFIG_AMD8111E_NAPI /* This function handles the driver receive operation in polling mode */ static int amd8111e_rx_poll(struct net_device *dev, int * budget) { --- linux-2.6.9-rc1/drivers/net/via-velocity.h.ifdef 2004-08-24 08:43:44.000000000 -0400 +++ linux-2.6.9-rc1/drivers/net/via-velocity.h 2004-08-24 10:32:54.651164315 -0400 @@ -1740,7 +1740,7 @@ struct velocity_info { struct net_device *dev; struct net_device_stats stats; -#if CONFIG_PM +#ifdef CONFIG_PM u32 pci_state[16]; #endif
[unhandled content-type:application/pgp-signature] | |