drivers/net/eepro100: missing __devinit
PATCH 1/1 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.
Signature · 2 lines
Andrey Panin | Embedded systems software engineer [email protected] | PGP key: wwwkeys.eu.pgp.net
drivers/net/eepro100.c +2 -2
@@ -632,7 +632,7 @@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 @@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;