diff options
author | Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> | 2011-07-21 12:22:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-21 23:39:47 -0400 |
commit | 61463a30f65225e19e68f59dbd7b888bb308ec99 (patch) | |
tree | 5aba1af2b73848430fc7270342e8b26cba6410ec /drivers/net/can | |
parent | e3dbc46c2a62688d1aaa1f7291a054fb2b502849 (diff) |
can: make function can_get_bittiming static
The function can_get_bittiming is not used anywhere else, so it should be
static.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c index d0f8c7e67e7d..9bf1116e5b5e 100644 --- a/drivers/net/can/dev.c +++ b/drivers/net/can/dev.c | |||
@@ -208,7 +208,7 @@ static int can_fixup_bittiming(struct net_device *dev, struct can_bittiming *bt) | |||
208 | return 0; | 208 | return 0; |
209 | } | 209 | } |
210 | 210 | ||
211 | int can_get_bittiming(struct net_device *dev, struct can_bittiming *bt) | 211 | static int can_get_bittiming(struct net_device *dev, struct can_bittiming *bt) |
212 | { | 212 | { |
213 | struct can_priv *priv = netdev_priv(dev); | 213 | struct can_priv *priv = netdev_priv(dev); |
214 | int err; | 214 | int err; |