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

[PATCH] drivers_net_eepro100: missing __devinit:

Andrey Panin <pazke@orbita1.ru>: drivers_net_eepro100: missing __devinit:
  This patch adds missing __devinit modifiers for speedo_found1() and
  do_eeprom_cmd() functions. Patch against 2.5.8. Compiles, but untested.
parent 8a8d8171
......@@ -632,7 +632,7 @@ err_out_iounmap: ;
return -ENODEV;
}
static int speedo_found1(struct pci_dev *pdev,
static int __devinit speedo_found1(struct pci_dev *pdev,
long ioaddr, int card_idx, int acpi_idle_state)
{
struct net_device *dev;
......@@ -866,7 +866,7 @@ static int speedo_found1(struct pci_dev *pdev,
interval for serial EEPROM. However, it looks like that there is an
additional requirement dictating larger udelay's in the code below.
2000/05/24 SAW */
static int do_eeprom_cmd(long ioaddr, int cmd, int cmd_len)
static int __devinit do_eeprom_cmd(long ioaddr, int cmd, int cmd_len)
{
unsigned retval = 0;
long ee_addr = ioaddr + SCBeeprom;
......
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