aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/sja1000/peak_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/sja1000/peak_pci.c')
-rw-r--r--drivers/net/can/sja1000/peak_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/sja1000/peak_pci.c b/drivers/net/can/sja1000/peak_pci.c
index d1e7f1006ddd..6b6f0ad75090 100644
--- a/drivers/net/can/sja1000/peak_pci.c
+++ b/drivers/net/can/sja1000/peak_pci.c
@@ -402,7 +402,7 @@ static void peak_pciec_write_reg(const struct sja1000_priv *priv,
402 int c = (priv->reg_base - card->reg_base) / PEAK_PCI_CHAN_SIZE; 402 int c = (priv->reg_base - card->reg_base) / PEAK_PCI_CHAN_SIZE;
403 403
404 /* sja1000 register changes control the leds state */ 404 /* sja1000 register changes control the leds state */
405 if (port == REG_MOD) 405 if (port == SJA1000_MOD)
406 switch (val) { 406 switch (val) {
407 case MOD_RM: 407 case MOD_RM:
408 /* Reset Mode: set led on */ 408 /* Reset Mode: set led on */