aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dl2k.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dl2k.c')
-rw-r--r--drivers/net/dl2k.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c
index e91b7096838a..5066beb2e7bc 100644
--- a/drivers/net/dl2k.c
+++ b/drivers/net/dl2k.c
@@ -290,7 +290,7 @@ rio_probe1 (struct pci_dev *pdev, const struct pci_device_id *ent)
290 return err; 290 return err;
291} 291}
292 292
293int 293static int
294find_miiphy (struct net_device *dev) 294find_miiphy (struct net_device *dev)
295{ 295{
296 int i, phy_found = 0; 296 int i, phy_found = 0;
@@ -314,7 +314,7 @@ find_miiphy (struct net_device *dev)
314 return 0; 314 return 0;
315} 315}
316 316
317int 317static int
318parse_eeprom (struct net_device *dev) 318parse_eeprom (struct net_device *dev)
319{ 319{
320 int i, j; 320 int i, j;
@@ -1096,7 +1096,7 @@ clear_stats (struct net_device *dev)
1096} 1096}
1097 1097
1098 1098
1099int 1099static int
1100change_mtu (struct net_device *dev, int new_mtu) 1100change_mtu (struct net_device *dev, int new_mtu)
1101{ 1101{
1102 struct netdev_private *np = netdev_priv(dev); 1102 struct netdev_private *np = netdev_priv(dev);
@@ -1331,7 +1331,7 @@ rio_ioctl (struct net_device *dev, struct ifreq *rq, int cmd)
1331#define EEP_BUSY 0x8000 1331#define EEP_BUSY 0x8000
1332/* Read the EEPROM word */ 1332/* Read the EEPROM word */
1333/* We use I/O instruction to read/write eeprom to avoid fail on some machines */ 1333/* We use I/O instruction to read/write eeprom to avoid fail on some machines */
1334int 1334static int
1335read_eeprom (long ioaddr, int eep_addr) 1335read_eeprom (long ioaddr, int eep_addr)
1336{ 1336{
1337 int i = 1000; 1337 int i = 1000;