aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/dsa/lan9303-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/lan9303-core.c b/drivers/net/dsa/lan9303-core.c
index 4efb772dbc7e..2dead7fa1f93 100644
--- a/drivers/net/dsa/lan9303-core.c
+++ b/drivers/net/dsa/lan9303-core.c
@@ -865,7 +865,7 @@ static int lan9303_check_device(struct lan9303 *chip)
865 if ((reg >> 16) != LAN9303_CHIP_ID) { 865 if ((reg >> 16) != LAN9303_CHIP_ID) {
866 dev_err(chip->dev, "expecting LAN9303 chip, but found: %X\n", 866 dev_err(chip->dev, "expecting LAN9303 chip, but found: %X\n",
867 reg >> 16); 867 reg >> 16);
868 return ret; 868 return -ENODEV;
869 } 869 }
870 870
871 /* The default state of the LAN9303 device is to forward packets between 871 /* The default state of the LAN9303 device is to forward packets between