Commit f3fd056b authored by Andrey Panin's avatar Andrey Panin Committed by Jeff Garzik

Janitor: Add __devinit markers to two net drivers, epic100 and sundance

parent 6b537219
...@@ -582,7 +582,7 @@ static int __devinit epic_init_one (struct pci_dev *pdev, ...@@ -582,7 +582,7 @@ static int __devinit epic_init_one (struct pci_dev *pdev,
#define EE_READ256_CMD (6 << 8) #define EE_READ256_CMD (6 << 8)
#define EE_ERASE_CMD (7 << 6) #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 i;
int retval = 0; int retval = 0;
......
...@@ -637,7 +637,7 @@ static int __devinit sundance_probe1 (struct pci_dev *pdev, ...@@ -637,7 +637,7 @@ static int __devinit sundance_probe1 (struct pci_dev *pdev,
/* Read the EEPROM and MII Management Data I/O (MDIO) interfaces. */ /* 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. */ int boguscnt = 1000; /* Typical 190 ticks. */
writew(0x0200 | (location & 0xff), ioaddr + EECtrl); writew(0x0200 | (location & 0xff), ioaddr + EECtrl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment