diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2008-04-28 05:13:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:28 -0400 |
commit | 074a0db8e17ae271736148809c5f9d47dec2d993 (patch) | |
tree | 3aef3ea6d19bd5fe3859030decab60f39d8c3fb2 /arch/um/drivers/slip_kern.c | |
parent | 1605ec044300d0fd5d27fd0b6879ee14b104aebd (diff) |
uml: make several things static
Make several things static, because they no longer need to be global.
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/slip_kern.c')
-rw-r--r-- | arch/um/drivers/slip_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/slip_kern.c b/arch/um/drivers/slip_kern.c index 6b4a0f9e38de..d19faec7046e 100644 --- a/arch/um/drivers/slip_kern.c +++ b/arch/um/drivers/slip_kern.c | |||
@@ -13,7 +13,7 @@ struct slip_init { | |||
13 | char *gate_addr; | 13 | char *gate_addr; |
14 | }; | 14 | }; |
15 | 15 | ||
16 | void slip_init(struct net_device *dev, void *data) | 16 | static void slip_init(struct net_device *dev, void *data) |
17 | { | 17 | { |
18 | struct uml_net_private *private; | 18 | struct uml_net_private *private; |
19 | struct slip_data *spri; | 19 | struct slip_data *spri; |
@@ -57,7 +57,7 @@ static int slip_write(int fd, struct sk_buff *skb, struct uml_net_private *lp) | |||
57 | (struct slip_data *) &lp->user); | 57 | (struct slip_data *) &lp->user); |
58 | } | 58 | } |
59 | 59 | ||
60 | const struct net_kern_info slip_kern_info = { | 60 | static const struct net_kern_info slip_kern_info = { |
61 | .init = slip_init, | 61 | .init = slip_init, |
62 | .protocol = slip_protocol, | 62 | .protocol = slip_protocol, |
63 | .read = slip_read, | 63 | .read = slip_read, |