]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
can: make function can_get_bittiming static
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Thu, 21 Jul 2011 16:22:31 +0000 (16:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jul 2011 03:39:47 +0000 (20:39 -0700)
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>
drivers/net/can/dev.c

index d0f8c7e67e7d2a738c2716a68f80b4b7a22a21f2..9bf1116e5b5e1e5608ed36ae850a6aff7c812ff4 100644 (file)
@@ -208,7 +208,7 @@ static int can_fixup_bittiming(struct net_device *dev, struct can_bittiming *bt)
        return 0;
 }
 
-int can_get_bittiming(struct net_device *dev, struct can_bittiming *bt)
+static int can_get_bittiming(struct net_device *dev, struct can_bittiming *bt)
 {
        struct can_priv *priv = netdev_priv(dev);
        int err;