diff --git a/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c b/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c index e4a764f49..ddb54d4d7 100644 --- a/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c +++ b/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c @@ -392,7 +392,7 @@ static int __init adm5120_sw_init(void) adm5120_nrdevs = 5; /* CFE based devices only have two enet ports */ else if (boot_loader_type == CFE) - adm5120_nrdevs = 2 + adm5120_nrdevs = 2; else adm5120_nrdevs = 6;