Patchwork [01/33] netdev: network device operations infrastructure

login
register
mail settings
Submitter David Miller
Date Nov. 20, 2008, 5:27 a.m.
Message ID <20081119.212716.85235118.davem@davemloft.net>
Download mbox | patch
Permalink /patch/9681/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

David Miller - Nov. 20, 2008, 5:27 a.m.
From: David Miller <davem@davemloft.net>
Date: Wed, 19 Nov 2008 21:26:50 -0800 (PST)

> Ok, I'm applying this but it needs the following interdiff to cure some
> build failures.

Durrr!  And here is that interdiff!

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- net/core/dev.c~	2008-11-19 17:36:28.000000000 -0800
+++ net/core/dev.c	2008-11-19 17:36:56.000000000 -0800
@@ -4037,7 +4037,9 @@  int register_netdevice(struct net_device
 		dev->vlan_rx_register = ops->vlan_rx_register;
 		dev->vlan_rx_add_vid = ops->vlan_rx_add_vid;
 		dev->vlan_rx_kill_vid = ops->vlan_rx_kill_vid;
+#ifdef CONFIG_NET_POLL_CONTROLLER
 		dev->poll_controller = ops->poll_controller;
+#endif
 	} else {
 		char drivername[64];
 		pr_info("%s (%s): not using net_device_ops yet\n",