Use SET_ETHTOOL_OPS macro...

Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>

Index: linux-2.6.18-rc4/drivers/net/smc911x.c
===================================================================
--- linux-2.6.18-rc4.orig/drivers/net/smc911x.c 2006-08-06 21:20:11.000000000 
+0300
+++ linux-2.6.18-rc4/drivers/net/smc911x.c      2006-09-04 13:54:26.621458832 
+0300
@@ -2056,7 +2053,7 @@
        dev->watchdog_timeo = msecs_to_jiffies(watchdog);
        dev->get_stats = smc911x_query_statistics;
        dev->set_multicast_list = smc911x_set_multicast_list;
-       dev->ethtool_ops = &smc911x_ethtool_ops;
+       SET_ETHTOOL_OPS(dev, &smc911x_ethtool_ops);
 #ifdef CONFIG_NET_POLL_CONTROLLER
        dev->poll_controller = smc911x_poll_controller;
 #endif
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to