aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fs_enet/fs_enet-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fs_enet/fs_enet-main.c')
-rw-r--r--drivers/net/fs_enet/fs_enet-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c
index df62506a1787..f358ee61d9b9 100644
--- a/drivers/net/fs_enet/fs_enet-main.c
+++ b/drivers/net/fs_enet/fs_enet-main.c
@@ -971,7 +971,7 @@ static struct net_device *fs_init_instance(struct device *dev,
971 dev_set_drvdata(dev, ndev); 971 dev_set_drvdata(dev, ndev);
972 fep->fpi = fpi; 972 fep->fpi = fpi;
973 if (fpi->init_ioports) 973 if (fpi->init_ioports)
974 fpi->init_ioports(); 974 fpi->init_ioports((struct fs_platform_info *)fpi);
975 975
976#ifdef CONFIG_FS_ENET_HAS_FEC 976#ifdef CONFIG_FS_ENET_HAS_FEC
977 if (fs_get_fec_index(fpi->fs_no) >= 0) 977 if (fs_get_fec_index(fpi->fs_no) >= 0)