projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3dbc46
)
can: make function can_get_bittiming static
author
Thadeu Lima de Souza Cascardo
<cascardo@holoscopio.com>
Thu, 21 Jul 2011 16:22:31 +0000
(16:22 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/can/dev.c
b/drivers/net/can/dev.c
index
d0f8c7e
..
9bf1116
100644
(file)
--- 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)
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;