projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6561208
)
compat: add support for ndo_init backport
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Tue, 31 Aug 2010 01:54:31 +0000
(18:54 -0700)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Tue, 31 Aug 2010 01:54:31 +0000
(18:54 -0700)
ath6kl uses this.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/compat-2.6.29.c
patch
|
blob
|
history
diff --git
a/compat/compat-2.6.29.c
b/compat/compat-2.6.29.c
index a2354f9b445647d142cbd708404a261af6fa1873..bc4288f4469f66b71eb5de6394a911282d9d19be 100644
(file)
--- a/
compat/compat-2.6.29.c
+++ b/
compat/compat-2.6.29.c
@@
-25,6
+25,7
@@
void netdev_attach_ops(struct net_device *dev,
const struct net_device_ops *ops)
{
dev->open = ops->ndo_open;
+ dev->init = ops->ndo_init;
dev->stop = ops->ndo_stop;
dev->hard_start_xmit = ops->ndo_start_xmit;
dev->change_rx_flags = ops->ndo_change_rx_flags;