git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
um
/
os-Linux
/
drivers
/
ethertap_kern.c
diff --git
a/arch/um/os-Linux/drivers/ethertap_kern.c
b/arch/um/os-Linux/drivers/ethertap_kern.c
index
768606b
..
7054182
100644
(file)
--- a/
arch/um/os-Linux/drivers/ethertap_kern.c
+++ b/
arch/um/os-Linux/drivers/ethertap_kern.c
@@
-65,7
+65,7
@@
static int etap_write(int fd, struct sk_buff **skb, struct uml_net_private *lp)
return(net_send(fd, (*skb)->data, (*skb)->len));
}
return(net_send(fd, (*skb)->data, (*skb)->len));
}
-struct net_kern_info ethertap_kern_info = {
+
const
struct net_kern_info ethertap_kern_info = {
.init = etap_init,
.protocol = eth_protocol,
.read = etap_read,
.init = etap_init,
.protocol = eth_protocol,
.read = etap_read,
@@
-105,4
+105,4
@@
static int register_ethertap(void)
return 0;
}
return 0;
}
-
_
_initcall(register_ethertap);
+
late
_initcall(register_ethertap);