summaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
authorKurt Van Dijck <kurt.van.dijck@eia.be>2011-02-21 00:04:22 +0100
committerDavid S. Miller <davem@davemloft.net>2011-02-28 21:08:48 +0100
commitdad3d44dcb054e9d0514fbf65ee4a2d88cf1698f (patch)
tree21026578d37cd2a9e6102ee93c2c33b2aa2de552 /drivers/net/can
parentdrivers:isdn:istream.c Fix typo pice to piece (diff)
downloadlinux-dad3d44dcb054e9d0514fbf65ee4a2d88cf1698f.tar.xz
linux-dad3d44dcb054e9d0514fbf65ee4a2d88cf1698f.zip
CAN: add controller hardware name for Softing cards
I just found that the controller hardware name is not set for the Softing driver. After this patch, "$ ip -d link show" looks nicer. Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/softing/softing_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c
index 5157e15e96eb..aeea9f9ff6e8 100644
--- a/drivers/net/can/softing/softing_main.c
+++ b/drivers/net/can/softing/softing_main.c
@@ -633,6 +633,7 @@ static const struct net_device_ops softing_netdev_ops = {
};
static const struct can_bittiming_const softing_btr_const = {
+ .name = "softing",
.tseg1_min = 1,
.tseg1_max = 16,
.tseg2_min = 1,