1*4882a593SmuzhiyunKernel commit b81693d9149c598302e8eb9c20cb20330d922c8e changed the 2*4882a593Smuzhiyunnet_device_ops structure, removing the ndo_set_multicast_list callback. The 3*4882a593Smuzhiyunndo_set_rx_mode has also been added to this structure. 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunThe upshot of these changes is that owl-linux fails to compile with 3.3.x 6*4882a593Smuzhiyunand later kernels. 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunSigned-off-by: Simon Dawson <spdawson@gmail.com> 9*4882a593Smuzhiyundiff -Nurp a/owl_net.c b/owl_net.c 10*4882a593Smuzhiyun--- a/owl_net.c 2012-06-14 10:51:45.000000000 +0100 11*4882a593Smuzhiyun+++ b/owl_net.c 2012-07-20 13:16:28.772351464 +0100 12*4882a593Smuzhiyun@@ -384,7 +384,9 @@ static const struct net_device_ops netde 13*4882a593Smuzhiyun #endif /* OWL_CONFIG_IFUPDOWN */ 14*4882a593Smuzhiyun .ndo_start_xmit = owl_net_tx, 15*4882a593Smuzhiyun .ndo_get_stats = owl_net_get_stats, 16*4882a593Smuzhiyun+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0) 17*4882a593Smuzhiyun .ndo_set_multicast_list = NULL, 18*4882a593Smuzhiyun+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0) */ 19*4882a593Smuzhiyun .ndo_tx_timeout = owl_net_tx_timeout, 20*4882a593Smuzhiyun .ndo_set_mac_address = NULL, 21*4882a593Smuzhiyun }; 22