mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
[PATCH] uml: const more data
Make lots of structures const in order to make it obvious that they need no locking. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
48af05ed54
commit
5e7672ec3f
40 changed files with 65 additions and 65 deletions
|
@ -205,7 +205,7 @@ static int tuntap_set_mtu(int mtu, void *data)
|
|||
return(mtu);
|
||||
}
|
||||
|
||||
struct net_user_info tuntap_user_info = {
|
||||
const struct net_user_info tuntap_user_info = {
|
||||
.init = tuntap_user_init,
|
||||
.open = tuntap_open,
|
||||
.close = tuntap_close,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue