diff options
author | Oliver Hartkopp <oliver@hartkopp.net> | 2008-12-17 18:37:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-17 18:37:55 -0500 |
commit | fc10af8e658936f7b2bddd077f7ddcbe1eddc066 (patch) | |
tree | f27fc1cef9f2efba3c771644f0effa4d18a186fe | |
parent | 7a95d267fb62cd6b80ef73be0592bbbe1dbd5df7 (diff) |
vcan: whitespace fixes
Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/can/vcan.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/can/vcan.c b/drivers/net/can/vcan.c index f127ec983d03..a10c1d7b3b0a 100644 --- a/drivers/net/can/vcan.c +++ b/drivers/net/can/vcan.c | |||
@@ -134,24 +134,24 @@ static const struct net_device_ops vcan_netdev_ops = { | |||
134 | 134 | ||
135 | static void vcan_setup(struct net_device *dev) | 135 | static void vcan_setup(struct net_device *dev) |
136 | { | 136 | { |
137 | dev->type = ARPHRD_CAN; | 137 | dev->type = ARPHRD_CAN; |
138 | dev->mtu = sizeof(struct can_frame); | 138 | dev->mtu = sizeof(struct can_frame); |
139 | dev->hard_header_len = 0; | 139 | dev->hard_header_len = 0; |
140 | dev->addr_len = 0; | 140 | dev->addr_len = 0; |
141 | dev->tx_queue_len = 0; | 141 | dev->tx_queue_len = 0; |
142 | dev->flags = IFF_NOARP; | 142 | dev->flags = IFF_NOARP; |
143 | 143 | ||
144 | /* set flags according to driver capabilities */ | 144 | /* set flags according to driver capabilities */ |
145 | if (echo) | 145 | if (echo) |
146 | dev->flags |= IFF_ECHO; | 146 | dev->flags |= IFF_ECHO; |
147 | 147 | ||
148 | dev->netdev_ops = &vcan_netdev_ops; | 148 | dev->netdev_ops = &vcan_netdev_ops; |
149 | dev->destructor = free_netdev; | 149 | dev->destructor = free_netdev; |
150 | } | 150 | } |
151 | 151 | ||
152 | static struct rtnl_link_ops vcan_link_ops __read_mostly = { | 152 | static struct rtnl_link_ops vcan_link_ops __read_mostly = { |
153 | .kind = "vcan", | 153 | .kind = "vcan", |
154 | .setup = vcan_setup, | 154 | .setup = vcan_setup, |
155 | }; | 155 | }; |
156 | 156 | ||
157 | static __init int vcan_init_module(void) | 157 | static __init int vcan_init_module(void) |