diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 10:43:56 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 19:51:21 +0100 |
commit | 4ea21cd9173a0ffa75dc74cc46d08dfc45654f29 (patch) | |
tree | 904783bcd2a274005049c211bce2bd022275fe86 /arch/um/include | |
parent | [PATCH] uml: add locking to network transport registration (diff) | |
download | linux-4ea21cd9173a0ffa75dc74cc46d08dfc45654f29.tar.xz linux-4ea21cd9173a0ffa75dc74cc46d08dfc45654f29.zip |
[PATCH] uml: network driver whitespace and style fixes
Some whitespace and coding style cleanups in the network driver code.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/net_kern.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/include/net_kern.h b/arch/um/include/net_kern.h index 92f76d82a6ef..125ab42df18a 100644 --- a/arch/um/include/net_kern.h +++ b/arch/um/include/net_kern.h @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) * Licensed under the GPL */ @@ -36,7 +36,7 @@ struct uml_net_private { void (*remove)(void *); int (*read)(int, struct sk_buff **skb, struct uml_net_private *); int (*write)(int, struct sk_buff **skb, struct uml_net_private *); - + void (*add_address)(unsigned char *, unsigned char *, void *); void (*delete_address)(unsigned char *, unsigned char *, void *); int (*set_mtu)(int mtu, void *); @@ -63,7 +63,7 @@ struct transport { extern struct net_device *ether_init(int); extern unsigned short ether_protocol(struct sk_buff *); extern struct sk_buff *ether_adjust_skb(struct sk_buff *skb, int extra); -extern int tap_setup_common(char *str, char *type, char **dev_name, +extern int tap_setup_common(char *str, char *type, char **dev_name, char **mac_out, char **gate_addr); extern void register_transport(struct transport *new); extern unsigned short eth_protocol(struct sk_buff *skb); |