diff options
| author | Andrey Panin <pazke@orbita1.ru> | 2002-05-16 12:24:48 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@mandrakesoft.com> | 2002-05-16 12:24:48 -0400 |
| commit | f3fd056bd4ac38a60095e2e0474eb2090668aecb (patch) | |
| tree | ab411f044aa09c503332856bd6c36c0a97f9ad80 /drivers | |
| parent | 6b537219d09688f68f0a433770cfdeec877844a0 (diff) | |
Janitor: Add __devinit markers to two net drivers, epic100 and sundance
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/epic100.c | 2 | ||||
| -rw-r--r-- | drivers/net/sundance.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/epic100.c b/drivers/net/epic100.c index fe20646ddb5e..8a79a4acff0a 100644 --- a/drivers/net/epic100.c +++ b/drivers/net/epic100.c @@ -582,7 +582,7 @@ err_out_free_netdev: #define EE_READ256_CMD (6 << 8) #define EE_ERASE_CMD (7 << 6) -static int read_eeprom(long ioaddr, int location) +static int __devinit read_eeprom(long ioaddr, int location) { int i; int retval = 0; diff --git a/drivers/net/sundance.c b/drivers/net/sundance.c index e92d0c138c01..509a65c18fb2 100644 --- a/drivers/net/sundance.c +++ b/drivers/net/sundance.c @@ -637,7 +637,7 @@ err_out_netdev: /* Read the EEPROM and MII Management Data I/O (MDIO) interfaces. */ -static int eeprom_read(long ioaddr, int location) +static int __devinit eeprom_read(long ioaddr, int location) { int boguscnt = 1000; /* Typical 190 ticks. */ writew(0x0200 | (location & 0xff), ioaddr + EECtrl); |
