blob: 7c3d03afba1cc8231aba8dfd07aa7c4b2a8ee7bf [file] [log] [blame]
@@
struct net_device *dev;
struct net_device_ops ops;
@@
-dev->netdev_ops = &ops;
+netdev_attach_ops(dev, &ops);