diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-06 22:52:26 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-06 22:52:26 +0200 |
commit | 4673b0b774de44d3f101bb677e2a44312a36f1b9 (patch) | |
tree | c9cb07edab3d6c493aaa76141240cb5b32bc707b /patches/collateral-evolutions/network/0001-netdev_ops/usbnet.patch | |
parent | 8f949091c3e0bd1ec75e44614b57c0fe3bc90e55 (diff) |
backport patches: rename/combine some patches
It's not efficient to have a large number of patches,
but necessary to split patches per driver or subsystem
to allow copying only parts. I had split them per file
as that was easy to generate, now combine a few again
and move some into the higher directory level.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/collateral-evolutions/network/0001-netdev_ops/usbnet.patch')
-rw-r--r-- | patches/collateral-evolutions/network/0001-netdev_ops/usbnet.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/0001-netdev_ops/usbnet.patch b/patches/collateral-evolutions/network/0001-netdev_ops/usbnet.patch new file mode 100644 index 00000000..f2bf6ecc --- /dev/null +++ b/patches/collateral-evolutions/network/0001-netdev_ops/usbnet.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/usb/usbnet.c ++++ b/drivers/net/usb/usbnet.c +@@ -1446,7 +1446,7 @@ + net->features |= NETIF_F_HIGHDMA; + #endif + +- net->netdev_ops = &usbnet_netdev_ops; ++ netdev_attach_ops(net, &usbnet_netdev_ops); + net->watchdog_timeo = TX_TIMEOUT_JIFFIES; + net->ethtool_ops = &usbnet_ethtool_ops; + |