diff options
author | Kurt Van Dijck <kurt.van.dijck@eia.be> | 2011-02-20 23:04:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-28 12:08:48 -0800 |
commit | dad3d44dcb054e9d0514fbf65ee4a2d88cf1698f (patch) | |
tree | 21026578d37cd2a9e6102ee93c2c33b2aa2de552 /drivers | |
parent | 19d73f3c6fe86dca01e409f226ec51a0fde9662e (diff) | |
download | op-kernel-dev-dad3d44dcb054e9d0514fbf65ee4a2d88cf1698f.zip op-kernel-dev-dad3d44dcb054e9d0514fbf65ee4a2d88cf1698f.tar.gz |
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')
-rw-r--r-- | drivers/net/can/softing/softing_main.c | 1 |
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 5157e15..aeea9f9 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, |