diff --git a/drivers/net/tc35815.c b/drivers/net/tc35815.c
index 75655add3f34be4ee0cd6f58f2293fe827775c3c..7f94ca930988d08e63271469a3f3910494831259 100644
--- a/drivers/net/tc35815.c
+++ b/drivers/net/tc35815.c
@@ -626,7 +626,7 @@ static int __devinit tc35815_read_plat_dev_addr(struct net_device *dev)
 	return -ENODEV;
 }
 #else
-static int __devinit tc35815_read_plat_dev_addr(struct device *dev)
+static int __devinit tc35815_read_plat_dev_addr(struct net_device *dev)
 {
 	return -ENODEV;
 }