Commit c2951331 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] drivers_net_sundance.c: missing __devinit

Andrey Panin <pazke@orbita1.ru>: drivers_net_sundance.c: missing __devinit:
  this patch adds missing __devinit modifier to sundance.c network driver.
  Patch against 2.5.15. Compiles, but untested.
parent d74cc526
......@@ -637,7 +637,7 @@ static int __devinit sundance_probe1 (struct pci_dev *pdev,
/* 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);
......
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