diff options
Diffstat (limited to 'drivers/net/can/dev.c')
| -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 c7a260478749..e318e87e2bfc 100644 --- a/drivers/net/can/dev.c +++ b/drivers/net/can/dev.c | |||
| @@ -256,7 +256,7 @@ static int can_get_bittiming(struct net_device *dev, struct can_bittiming *bt, | |||
| 256 | 256 | ||
| 257 | /* Check if the CAN device has bit-timing parameters */ | 257 | /* Check if the CAN device has bit-timing parameters */ |
| 258 | if (!btc) | 258 | if (!btc) |
| 259 | return -ENOTSUPP; | 259 | return -EOPNOTSUPP; |
| 260 | 260 | ||
| 261 | /* | 261 | /* |
| 262 | * Depending on the given can_bittiming parameter structure the CAN | 262 | * Depending on the given can_bittiming parameter structure the CAN |
