git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] uml: add locking to network transport registration
[safe/jmp/linux-2.6]
/
arch
/
um
/
include
/
net_kern.h
diff --git
a/arch/um/include/net_kern.h
b/arch/um/include/net_kern.h
index
218f8b4
..
92f76d8
100644
(file)
--- a/
arch/um/include/net_kern.h
+++ b/
arch/um/include/net_kern.h
@@
-52,12
+52,12
@@
struct net_kern_info {
struct transport {
struct list_head list;
struct transport {
struct list_head list;
- char *name;
- int (*setup)(char *, char **, void *);
+ c
onst c
har *name;
+ int (*
const
setup)(char *, char **, void *);
const struct net_user_info *user;
const struct net_kern_info *kern;
const struct net_user_info *user;
const struct net_kern_info *kern;
- int private_size;
- int setup_size;
+
const
int private_size;
+
const
int setup_size;
};
extern struct net_device *ether_init(int);
};
extern struct net_device *ether_init(int);